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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 const char kDebugDevTools[] = "debug-devtools"; | 141 const char kDebugDevTools[] = "debug-devtools"; |
142 | 142 |
143 // Enables support to debug printing subsystem. | 143 // Enables support to debug printing subsystem. |
144 const char kDebugPrint[] = "debug-print"; | 144 const char kDebugPrint[] = "debug-print"; |
145 | 145 |
146 // Specifies the URL at which to fetch configuration policy from the device | 146 // Specifies the URL at which to fetch configuration policy from the device |
147 // management backend. Specifying this switch turns on managed policy from the | 147 // management backend. Specifying this switch turns on managed policy from the |
148 // device management backend. | 148 // device management backend. |
149 const char kDeviceManagementUrl[] = "device-management-url"; | 149 const char kDeviceManagementUrl[] = "device-management-url"; |
150 | 150 |
151 // Specifies the directory in which to store the shared device policy cache | |
152 // file. If not specified, device policy will be disabled. | |
153 const char kDevicePolicyCacheDir[] = "device-policy-cache-dir"; | |
154 | |
155 // Triggers a pletora of diagnostic modes. | 151 // Triggers a pletora of diagnostic modes. |
156 const char kDiagnostics[] = "diagnostics"; | 152 const char kDiagnostics[] = "diagnostics"; |
157 | 153 |
158 // Disables accelerated compositing. | 154 // Disables accelerated compositing. |
159 const char kDisableAcceleratedCompositing[] = | 155 const char kDisableAcceleratedCompositing[] = |
160 "disable-accelerated-compositing"; | 156 "disable-accelerated-compositing"; |
161 | 157 |
162 // Disables the hardware acceleration of 3D CSS and animation. | 158 // Disables the hardware acceleration of 3D CSS and animation. |
163 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; | 159 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; |
164 | 160 |
(...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1061 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; | 1057 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; |
1062 | 1058 |
1063 // Print version information and quit. | 1059 // Print version information and quit. |
1064 const char kVersion[] = "version"; | 1060 const char kVersion[] = "version"; |
1065 | 1061 |
1066 // Use WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is | 1062 // Use WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is |
1067 // to use Chromium's network stack to fetch, and V8 to evaluate. | 1063 // to use Chromium's network stack to fetch, and V8 to evaluate. |
1068 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; | 1064 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; |
1069 | 1065 |
1070 #if defined(OS_CHROMEOS) | 1066 #if defined(OS_CHROMEOS) |
| 1067 // Enables device policy support on ChromeOS. |
| 1068 const char kEnableDevicePolicy[] = "enable-device-policy"; |
| 1069 |
1071 // Enable the redirection of viewable document requests to the Google | 1070 // Enable the redirection of viewable document requests to the Google |
1072 // Document Viewer. | 1071 // Document Viewer. |
1073 const char kEnableGView[] = "enable-gview"; | 1072 const char kEnableGView[] = "enable-gview"; |
1074 | 1073 |
1075 // Should we show the image based login? | 1074 // Should we show the image based login? |
1076 const char kEnableLoginImages[] = "enable-login-images"; | 1075 const char kEnableLoginImages[] = "enable-login-images"; |
1077 | 1076 |
1078 // Enable Chrome-as-a-login-manager behavior. | 1077 // Enable Chrome-as-a-login-manager behavior. |
1079 const char kLoginManager[] = "login-manager"; | 1078 const char kLoginManager[] = "login-manager"; |
1080 | 1079 |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1211 | 1210 |
1212 // ----------------------------------------------------------------------------- | 1211 // ----------------------------------------------------------------------------- |
1213 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1212 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1214 // | 1213 // |
1215 // You were going to just dump your switches here, weren't you? Instead, | 1214 // You were going to just dump your switches here, weren't you? Instead, |
1216 // please put them in alphabetical order above, or in order inside the | 1215 // please put them in alphabetical order above, or in order inside the |
1217 // appropriate ifdef at the bottom. The order should match the header. | 1216 // appropriate ifdef at the bottom. The order should match the header. |
1218 // ----------------------------------------------------------------------------- | 1217 // ----------------------------------------------------------------------------- |
1219 | 1218 |
1220 } // namespace switches | 1219 } // namespace switches |
OLD | NEW |