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

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

Issue 527003: Revert 35602 - Add a "minimum_chrome_version" key to the manifest.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 11 months 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 | « no previous file | chrome/common/extensions/docs/manifest.html » ('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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 return 345 return
346 #if defined(OS_WIN) 346 #if defined(OS_WIN)
347 // Windows needs resources for the default/null plugin. 347 // Windows needs resources for the default/null plugin.
348 process_type == switches::kPluginProcess || 348 process_type == switches::kPluginProcess ||
349 #endif 349 #endif
350 #if defined(OS_LINUX) 350 #if defined(OS_LINUX)
351 // The zygote process opens the resources for the renderers. 351 // The zygote process opens the resources for the renderers.
352 process_type == switches::kZygoteProcess || 352 process_type == switches::kZygoteProcess ||
353 #endif 353 #endif
354 process_type == switches::kRendererProcess || 354 process_type == switches::kRendererProcess ||
355 process_type == switches::kExtensionProcess || 355 process_type == switches::kExtensionProcess;
356 process_type == switches::kUtilityProcess;
357 } 356 }
358 357
359 } // namespace 358 } // namespace
360 359
361 #if defined(OS_WIN) 360 #if defined(OS_WIN)
362 DLLEXPORT int __cdecl ChromeMain(HINSTANCE instance, 361 DLLEXPORT int __cdecl ChromeMain(HINSTANCE instance,
363 sandbox::SandboxInterfaceInfo* sandbox_info, 362 sandbox::SandboxInterfaceInfo* sandbox_info,
364 TCHAR* command_line) { 363 TCHAR* command_line) {
365 #elif defined(OS_POSIX) 364 #elif defined(OS_POSIX)
366 int ChromeMain(int argc, char** argv) { 365 int ChromeMain(int argc, char** argv) {
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 759
761 logging::CleanupChromeLogging(); 760 logging::CleanupChromeLogging();
762 761
763 #if defined(OS_MACOSX) && defined(GOOGLE_CHROME_BUILD) 762 #if defined(OS_MACOSX) && defined(GOOGLE_CHROME_BUILD)
764 // TODO(mark): See the TODO(mark) above at InitCrashReporter. 763 // TODO(mark): See the TODO(mark) above at InitCrashReporter.
765 DestructCrashReporter(); 764 DestructCrashReporter();
766 #endif // OS_MACOSX && GOOGLE_CHROME_BUILD 765 #endif // OS_MACOSX && GOOGLE_CHROME_BUILD
767 766
768 return rv; 767 return rv;
769 } 768 }
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/docs/manifest.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698