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 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 const char kCountry[] = "country"; | 143 const char kCountry[] = "country"; |
144 | 144 |
145 // Enables support to debug printing subsystem. | 145 // Enables support to debug printing subsystem. |
146 const char kDebugPrint[] = "debug-print"; | 146 const char kDebugPrint[] = "debug-print"; |
147 | 147 |
148 // Specifies the URL at which to fetch configuration policy from the device | 148 // Specifies the URL at which to fetch configuration policy from the device |
149 // management backend. Specifying this switch turns on managed policy from the | 149 // management backend. Specifying this switch turns on managed policy from the |
150 // device management backend. | 150 // device management backend. |
151 const char kDeviceManagementUrl[] = "device-management-url"; | 151 const char kDeviceManagementUrl[] = "device-management-url"; |
152 | 152 |
| 153 // Specifies the directory in which to store the shared device policy cache |
| 154 // file. If not specified, device policy will be disabled. |
| 155 const char kDevicePolicyCacheDir[] = "device-policy-cache-dir"; |
| 156 |
153 // Triggers a pletora of diagnostic modes. | 157 // Triggers a pletora of diagnostic modes. |
154 const char kDiagnostics[] = "diagnostics"; | 158 const char kDiagnostics[] = "diagnostics"; |
155 | 159 |
156 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. | 160 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. |
157 // This is controlled by policy and is kept separate from the other | 161 // This is controlled by policy and is kept separate from the other |
158 // enable/disable switches to avoid accidentally regressing the policy | 162 // enable/disable switches to avoid accidentally regressing the policy |
159 // support for controlling access to these APIs. | 163 // support for controlling access to these APIs. |
160 const char kDisable3DAPIs[] = "disable-3d-apis"; | 164 const char kDisable3DAPIs[] = "disable-3d-apis"; |
161 | 165 |
162 // Disables accelerated compositing. | 166 // Disables accelerated compositing. |
(...skipping 1264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1427 | 1431 |
1428 // ----------------------------------------------------------------------------- | 1432 // ----------------------------------------------------------------------------- |
1429 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1433 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1430 // | 1434 // |
1431 // You were going to just dump your switches here, weren't you? Instead, | 1435 // You were going to just dump your switches here, weren't you? Instead, |
1432 // please put them in alphabetical order above, or in order inside the | 1436 // please put them in alphabetical order above, or in order inside the |
1433 // appropriate ifdef at the bottom. The order should match the header. | 1437 // appropriate ifdef at the bottom. The order should match the header. |
1434 // ----------------------------------------------------------------------------- | 1438 // ----------------------------------------------------------------------------- |
1435 | 1439 |
1436 } // namespace switches | 1440 } // namespace switches |
OLD | NEW |