OLD | NEW |
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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 const char kCheckForUpdateIntervalSec[] = "check-for-update-interval"; | 110 const char kCheckForUpdateIntervalSec[] = "check-for-update-interval"; |
111 | 111 |
112 // Run Chrome in Chrome Frame mode. This means that Chrome expects to be run | 112 // Run Chrome in Chrome Frame mode. This means that Chrome expects to be run |
113 // as a dependent process of the Chrome Frame plugin. | 113 // as a dependent process of the Chrome Frame plugin. |
114 const char kChromeFrame[] = "chrome-frame"; | 114 const char kChromeFrame[] = "chrome-frame"; |
115 | 115 |
116 // Tells chrome to load the specified version of chrome.dll on Windows. If | 116 // Tells chrome to load the specified version of chrome.dll on Windows. If |
117 // this version cannot be loaded, Chrome will exit. | 117 // this version cannot be loaded, Chrome will exit. |
118 const char kChromeVersion[] = "chrome-version"; | 118 const char kChromeVersion[] = "chrome-version"; |
119 | 119 |
| 120 // Specifies the URL at which to fetch cloud policy. Specifying this switch |
| 121 // turns on managed policy from the cloud policy backend. |
| 122 // Replaces kDeviceManagementUrl. |
| 123 const char kCloudPolicyUrl[] = "cloud-policy-url"; |
| 124 |
120 // The unique id to be used for this cloud print proxy instance. | 125 // The unique id to be used for this cloud print proxy instance. |
121 const char kCloudPrintProxyId[] = "cloud-print-proxy-id"; | 126 const char kCloudPrintProxyId[] = "cloud-print-proxy-id"; |
122 | 127 |
123 // Tells chrome to display the cloud print dialog and upload the | 128 // Tells chrome to display the cloud print dialog and upload the |
124 // specified file for printing. | 129 // specified file for printing. |
125 const char kCloudPrintFile[] = "cloud-print-file"; | 130 const char kCloudPrintFile[] = "cloud-print-file"; |
126 | 131 |
127 // Used with kCloudPrintFile to specify a title for the resulting print | 132 // Used with kCloudPrintFile to specify a title for the resulting print |
128 // job. | 133 // job. |
129 const char kCloudPrintJobTitle[] = "cloud-print-job-title"; | 134 const char kCloudPrintJobTitle[] = "cloud-print-job-title"; |
(...skipping 11 matching lines...) Expand all Loading... |
141 // system during first run and cached in the preferences afterwards. This is a | 146 // system during first run and cached in the preferences afterwards. This is a |
142 // string value, the 2 letter code from ISO 3166-1. | 147 // string value, the 2 letter code from ISO 3166-1. |
143 const char kCountry[] = "country"; | 148 const char kCountry[] = "country"; |
144 | 149 |
145 // Enables support to debug printing subsystem. | 150 // Enables support to debug printing subsystem. |
146 const char kDebugPrint[] = "debug-print"; | 151 const char kDebugPrint[] = "debug-print"; |
147 | 152 |
148 // Specifies the URL at which to fetch configuration policy from the device | 153 // Specifies the URL at which to fetch configuration policy from the device |
149 // management backend. Specifying this switch turns on managed policy from the | 154 // management backend. Specifying this switch turns on managed policy from the |
150 // device management backend. | 155 // device management backend. |
| 156 // Deprecated in favor of kCloudPolicyUrl (with different wire format!). |
151 const char kDeviceManagementUrl[] = "device-management-url"; | 157 const char kDeviceManagementUrl[] = "device-management-url"; |
152 | 158 |
153 // Triggers a pletora of diagnostic modes. | 159 // Triggers a pletora of diagnostic modes. |
154 const char kDiagnostics[] = "diagnostics"; | 160 const char kDiagnostics[] = "diagnostics"; |
155 | 161 |
156 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. | 162 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. |
157 // This is controlled by policy and is kept separate from the other | 163 // This is controlled by policy and is kept separate from the other |
158 // enable/disable switches to avoid accidentally regressing the policy | 164 // enable/disable switches to avoid accidentally regressing the policy |
159 // support for controlling access to these APIs. | 165 // support for controlling access to these APIs. |
160 const char kDisable3DAPIs[] = "disable-3d-apis"; | 166 const char kDisable3DAPIs[] = "disable-3d-apis"; |
(...skipping 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1391 | 1397 |
1392 // ----------------------------------------------------------------------------- | 1398 // ----------------------------------------------------------------------------- |
1393 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1399 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1394 // | 1400 // |
1395 // You were going to just dump your switches here, weren't you? Instead, | 1401 // You were going to just dump your switches here, weren't you? Instead, |
1396 // please put them in alphabetical order above, or in order inside the | 1402 // please put them in alphabetical order above, or in order inside the |
1397 // appropriate ifdef at the bottom. The order should match the header. | 1403 // appropriate ifdef at the bottom. The order should match the header. |
1398 // ----------------------------------------------------------------------------- | 1404 // ----------------------------------------------------------------------------- |
1399 | 1405 |
1400 } // namespace switches | 1406 } // namespace switches |
OLD | NEW |