1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/app/content_main.h"
7 #include "content/shell/shell_main_delegate.h"
8 #include "sandbox/src/sandbox_types.h"
11 #include "content/public/app/startup_helper_win.h"
16 int APIENTRY
wWinMain(HINSTANCE instance
, HINSTANCE
, wchar_t*, int) {
17 sandbox::SandboxInterfaceInfo sandbox_info
= {0};
18 content::InitializeSandboxInfo(&sandbox_info
);
19 ShellMainDelegate delegate
;
20 return content::ContentMain(instance
, &sandbox_info
, &delegate
);
26 #if defined(OS_MACOSX)
27 __attribute__((visibility("default")))
28 int main(int argc
, const char* argv
[]) {
30 int main(int argc
, const char** argv
) {
33 ShellMainDelegate delegate
;
34 return content::ContentMain(argc
, argv
, &delegate
);