OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
137 const char kCountry[] = "country"; | 137 const char kCountry[] = "country"; |
138 | 138 |
139 // Enables support to debug printing subsystem. | 139 // Enables support to debug printing subsystem. |
140 const char kDebugPrint[] = "debug-print"; | 140 const char kDebugPrint[] = "debug-print"; |
141 | 141 |
142 // Specifies the URL at which to fetch configuration policy from the device | 142 // Specifies the URL at which to fetch configuration policy from the device |
143 // management backend. Specifying this switch turns on managed policy from the | 143 // management backend. Specifying this switch turns on managed policy from the |
144 // device management backend. | 144 // device management backend. |
145 const char kDeviceManagementUrl[] = "device-management-url"; | 145 const char kDeviceManagementUrl[] = "device-management-url"; |
146 | 146 |
147 // Specifies the directory in which to store the shared device policy cache | |
148 // file. If not specified, device policy will be disabled. | |
149 const char kDevicePolicyCacheDir[] = "device-policy-cache-dir"; | |
150 | |
151 // Triggers a pletora of diagnostic modes. | 147 // Triggers a pletora of diagnostic modes. |
152 const char kDiagnostics[] = "diagnostics"; | 148 const char kDiagnostics[] = "diagnostics"; |
153 | 149 |
154 // Disables accelerated compositing. | 150 // Disables accelerated compositing. |
155 const char kDisableAcceleratedCompositing[] = | 151 const char kDisableAcceleratedCompositing[] = |
156 "disable-accelerated-compositing"; | 152 "disable-accelerated-compositing"; |
157 | 153 |
158 // Disables the hardware acceleration of 3D CSS and animation. | 154 // Disables the hardware acceleration of 3D CSS and animation. |
159 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; | 155 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; |
160 | 156 |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
443 | 439 |
444 // Enables web developers to create apps for Chrome without using crx packages. | 440 // Enables web developers to create apps for Chrome without using crx packages. |
445 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; | 441 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; |
446 | 442 |
447 // Enables data transfer items. | 443 // Enables data transfer items. |
448 const char kEnableDataTransferItems[] = "enable-data-transfer-items"; | 444 const char kEnableDataTransferItems[] = "enable-data-transfer-items"; |
449 | 445 |
450 // Enables device motion events. | 446 // Enables device motion events. |
451 const char kEnableDeviceMotion[] = "enable-device-motion"; | 447 const char kEnableDeviceMotion[] = "enable-device-motion"; |
452 | 448 |
449 // Enables device policy support on ChromeOS. | |
Mattias Nissler (ping if slow)
2011/03/24 18:55:57
Should probably have an #if defined(OS_CHROMEOS) t
Jakob Kummerow
2011/03/28 13:53:53
Done (moved to ChromeOS section of the file).
| |
450 const char kEnableDevicePolicy[] = "enable-device-policy"; | |
451 | |
453 // Enable DNS side checking of certificates. Still experimental, should only | 452 // Enable DNS side checking of certificates. Still experimental, should only |
454 // be used by developers at the current time. | 453 // be used by developers at the current time. |
455 const char kEnableDNSCertProvenanceChecking[] = | 454 const char kEnableDNSCertProvenanceChecking[] = |
456 "enable-dns-cert-provenance-checking"; | 455 "enable-dns-cert-provenance-checking"; |
457 | 456 |
458 const char kEnableDNSSECCerts[] = "enable-dnssec-certs"; | 457 const char kEnableDNSSECCerts[] = "enable-dnssec-certs"; |
459 | 458 |
460 // Enables app manifest features that are in development. | 459 // Enables app manifest features that are in development. |
461 const char kEnableExperimentalAppManifests[] = | 460 const char kEnableExperimentalAppManifests[] = |
462 "enable-experimental-app-manifests"; | 461 "enable-experimental-app-manifests"; |
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1198 | 1197 |
1199 // ----------------------------------------------------------------------------- | 1198 // ----------------------------------------------------------------------------- |
1200 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1199 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1201 // | 1200 // |
1202 // You were going to just dump your switches here, weren't you? Instead, | 1201 // You were going to just dump your switches here, weren't you? Instead, |
1203 // please put them in alphabetical order above, or in order inside the | 1202 // please put them in alphabetical order above, or in order inside the |
1204 // appropriate ifdef at the bottom. The order should match the header. | 1203 // appropriate ifdef at the bottom. The order should match the header. |
1205 // ----------------------------------------------------------------------------- | 1204 // ----------------------------------------------------------------------------- |
1206 | 1205 |
1207 } // namespace switches | 1206 } // namespace switches |
OLD | NEW |