Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(769)

Side by Side Diff: chrome/app/chrome_dll_main.cc

Issue 371073: Add support for 64-bit Windows build: base and chrome/app (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/file_util_win.cc ('k') | chrome/app/chrome_exe_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // TODO(port): the ifdefs in here are a first step towards trying to determine 5 // TODO(port): the ifdefs in here are a first step towards trying to determine
6 // the correct abstraction for all the OS functionality required at this 6 // the correct abstraction for all the OS functionality required at this
7 // stage of process initialization. It should not be taken as a final 7 // stage of process initialization. It should not be taken as a final
8 // abstraction. 8 // abstraction.
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 #endif 81 #endif
82 82
83 extern int BrowserMain(const MainFunctionParams&); 83 extern int BrowserMain(const MainFunctionParams&);
84 extern int RendererMain(const MainFunctionParams&); 84 extern int RendererMain(const MainFunctionParams&);
85 extern int PluginMain(const MainFunctionParams&); 85 extern int PluginMain(const MainFunctionParams&);
86 extern int WorkerMain(const MainFunctionParams&); 86 extern int WorkerMain(const MainFunctionParams&);
87 extern int NaClMain(const MainFunctionParams&); 87 extern int NaClMain(const MainFunctionParams&);
88 extern int UtilityMain(const MainFunctionParams&); 88 extern int UtilityMain(const MainFunctionParams&);
89 extern int ProfileImportMain(const MainFunctionParams&); 89 extern int ProfileImportMain(const MainFunctionParams&);
90 extern int ZygoteMain(const MainFunctionParams&); 90 extern int ZygoteMain(const MainFunctionParams&);
91 #ifdef NACL_WIN64
92 extern int NaClBrokerMain(const MainFunctionParams&);
93 #endif
91 94
92 #if defined(OS_WIN) 95 #if defined(OS_WIN)
93 // TODO(erikkay): isn't this already defined somewhere? 96 // TODO(erikkay): isn't this already defined somewhere?
94 #define DLLEXPORT __declspec(dllexport) 97 #define DLLEXPORT __declspec(dllexport)
95 98
96 // We use extern C for the prototype DLLEXPORT to avoid C++ name mangling. 99 // We use extern C for the prototype DLLEXPORT to avoid C++ name mangling.
97 extern "C" { 100 extern "C" {
98 DLLEXPORT int __cdecl ChromeMain(HINSTANCE instance, 101 DLLEXPORT int __cdecl ChromeMain(HINSTANCE instance,
99 sandbox::SandboxInterfaceInfo* sandbox_info, 102 sandbox::SandboxInterfaceInfo* sandbox_info,
100 TCHAR* command_line); 103 TCHAR* command_line);
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 670
668 logging::CleanupChromeLogging(); 671 logging::CleanupChromeLogging();
669 672
670 #if defined(OS_MACOSX) && defined(GOOGLE_CHROME_BUILD) 673 #if defined(OS_MACOSX) && defined(GOOGLE_CHROME_BUILD)
671 // TODO(mark): See the TODO(mark) above at InitCrashReporter. 674 // TODO(mark): See the TODO(mark) above at InitCrashReporter.
672 DestructCrashReporter(); 675 DestructCrashReporter();
673 #endif // OS_MACOSX && GOOGLE_CHROME_BUILD 676 #endif // OS_MACOSX && GOOGLE_CHROME_BUILD
674 677
675 return rv; 678 return rv;
676 } 679 }
OLDNEW
« no previous file with comments | « base/file_util_win.cc ('k') | chrome/app/chrome_exe_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698