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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 2001009: Created a new process type called the service process to host background task... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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 | « chrome/common/chrome_switches.h ('k') | chrome/common/sandbox_init_wrapper_mac.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // Causes the browser process to crash on startup. 65 // Causes the browser process to crash on startup.
66 const char kBrowserCrashTest[] = "crash-test"; 66 const char kBrowserCrashTest[] = "crash-test";
67 67
68 // Path to the exe to run for the renderer and plugin subprocesses. 68 // Path to the exe to run for the renderer and plugin subprocesses.
69 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; 69 const char kBrowserSubprocessPath[] = "browser-subprocess-path";
70 70
71 // Run Chrome in Chrome Frame mode. This means that Chrome expects to be run 71 // Run Chrome in Chrome Frame mode. This means that Chrome expects to be run
72 // as a dependent process of the Chrome Frame plugin. 72 // as a dependent process of the Chrome Frame plugin.
73 const char kChromeFrame[] = "chrome-frame"; 73 const char kChromeFrame[] = "chrome-frame";
74 74
75 // The unique id to be used for this cloud print proxy instance.
76 const char kCloudPrintProxyId[] = "cloud-print-proxy-id";
77
75 // The Country we should use. This is normally obtained from the operating 78 // The Country we should use. This is normally obtained from the operating
76 // system during first run and cached in the preferences afterwards. This is a 79 // system during first run and cached in the preferences afterwards. This is a
77 // string value, the 2 letter code from ISO 3166-1. 80 // string value, the 2 letter code from ISO 3166-1.
78 const char kCountry[] = "country"; 81 const char kCountry[] = "country";
79 82
80 // Enables support to debug printing subsystem. 83 // Enables support to debug printing subsystem.
81 const char kDebugPrint[] = "debug-print"; 84 const char kDebugPrint[] = "debug-print";
82 85
83 // Triggers a pletora of diagnostic modes. 86 // Triggers a pletora of diagnostic modes.
84 const char kDiagnostics[] = "diagnostics"; 87 const char kDiagnostics[] = "diagnostics";
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; 243 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs";
241 244
242 // Enable the inclusion of non-standard ports when generating the Kerberos SPN 245 // Enable the inclusion of non-standard ports when generating the Kerberos SPN
243 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN 246 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN
244 // for more background. 247 // for more background.
245 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; 248 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port";
246 249
247 // Enables the benchmarking extensions. 250 // Enables the benchmarking extensions.
248 const char kEnableBenchmarking[] = "enable-benchmarking"; 251 const char kEnableBenchmarking[] = "enable-benchmarking";
249 252
253 // This applies only when the process type is "service". Enables the
254 // Cloud Print Proxy component within the service process.
255 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy";
256
257 // Enables the Cloud Print dialog hosting code.
258 const char kEnableCloudPrint[] = "enable-cloud-print";
259
250 // Enables extension APIs that are in development. 260 // Enables extension APIs that are in development.
251 const char kEnableExperimentalExtensionApis[] = 261 const char kEnableExperimentalExtensionApis[] =
252 "enable-experimental-extension-apis"; 262 "enable-experimental-extension-apis";
253 263
254 // Enable experimental WebGL support. 264 // Enable experimental WebGL support.
255 const char kEnableExperimentalWebGL[] = "enable-webgl"; 265 const char kEnableExperimentalWebGL[] = "enable-webgl";
256 266
257 // Enable experimental extension apps. 267 // Enable experimental extension apps.
258 const char kEnableExtensionApps[] = "enable-extension-apps"; 268 const char kEnableExtensionApps[] = "enable-extension-apps";
259 269
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 // Optional argument is *the* only domain name that will have SDCH suppport. 680 // Optional argument is *the* only domain name that will have SDCH suppport.
671 // Default is "-enable-sdch" to advertise SDCH on all domains. 681 // Default is "-enable-sdch" to advertise SDCH on all domains.
672 // Sample usage with argument: "-enable-sdch=.google.com" 682 // Sample usage with argument: "-enable-sdch=.google.com"
673 // SDCH is currently only supported server-side for searches on google.com. 683 // SDCH is currently only supported server-side for searches on google.com.
674 const char kSdchFilter[] = "enable-sdch"; 684 const char kSdchFilter[] = "enable-sdch";
675 685
676 // Enables the showing of an info-bar instructing user they can search directly 686 // Enables the showing of an info-bar instructing user they can search directly
677 // from the omnibox. 687 // from the omnibox.
678 const char kSearchInOmniboxHint[] = "search-in-omnibox-hint"; 688 const char kSearchInOmniboxHint[] = "search-in-omnibox-hint";
679 689
690 // Causes the process to run as a service process.
691 const char kServiceProcess[] = "service";
692
693 // The LSID of the account to use for the service process.
694 const char kServiceAccountLsid[] = "service-account-lsid";
695
680 // See kHideIcons. 696 // See kHideIcons.
681 const char kShowIcons[] = "show-icons"; 697 const char kShowIcons[] = "show-icons";
682 698
683 // Renders a border around composited Render Layers to help debug and study 699 // Renders a border around composited Render Layers to help debug and study
684 // layer compositing. 700 // layer compositing.
685 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; 701 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders";
686 702
687 // Visibly render a border around paint rects in the web page to help debug 703 // Visibly render a border around paint rects in the web page to help debug
688 // and study painting behavior. 704 // and study painting behavior.
689 const char kShowPaintRects[] = "show-paint-rects"; 705 const char kShowPaintRects[] = "show-paint-rects";
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
931 947
932 // ----------------------------------------------------------------------------- 948 // -----------------------------------------------------------------------------
933 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 949 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
934 // 950 //
935 // You were going to just dump your switches here, weren't you? Instead, 951 // You were going to just dump your switches here, weren't you? Instead,
936 // please put them in alphabetical order above, or in order inside the 952 // please put them in alphabetical order above, or in order inside the
937 // appropriate ifdef at the bottom. The order should match the header. 953 // appropriate ifdef at the bottom. The order should match the header.
938 // ----------------------------------------------------------------------------- 954 // -----------------------------------------------------------------------------
939 955
940 } // namespace switches 956 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/sandbox_init_wrapper_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698