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 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1210 // the expiration of credentials during testing. | 1210 // the expiration of credentials during testing. |
1211 const char kClearTokenService[] = "clear-token-service"; | 1211 const char kClearTokenService[] = "clear-token-service"; |
1212 | 1212 |
1213 // Sets a token in the token service, for testing. | 1213 // Sets a token in the token service, for testing. |
1214 const char kSetToken[] = "set-token"; | 1214 const char kSetToken[] = "set-token"; |
1215 | 1215 |
1216 // Debug only switch to specify which websocket live experiment host to be used. | 1216 // Debug only switch to specify which websocket live experiment host to be used. |
1217 // If host is specified, it also makes initial delay shorter (5 min to 5 sec) | 1217 // If host is specified, it also makes initial delay shorter (5 min to 5 sec) |
1218 // to make it faster to test websocket live experiment code. | 1218 // to make it faster to test websocket live experiment code. |
1219 const char kWebSocketLiveExperimentHost[] = "websocket-live-experiment-host"; | 1219 const char kWebSocketLiveExperimentHost[] = "websocket-live-experiment-host"; |
| 1220 |
| 1221 // Debug only switch to give access to all private extension APIs to |
| 1222 // any non-component extension that is requesting it. |
| 1223 const char kExposePrivateExtensionApi[] = "expose-private-extension-api"; |
1220 #endif | 1224 #endif |
1221 | 1225 |
1222 #if defined(HAVE_XINPUT2) | 1226 #if defined(HAVE_XINPUT2) |
1223 // Tells chrome to interpret events from these devices as touch events. Only | 1227 // Tells chrome to interpret events from these devices as touch events. Only |
1224 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the devices | 1228 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the devices |
1225 // can be retrieved from 'xinput list'. | 1229 // can be retrieved from 'xinput list'. |
1226 const char kTouchDevices[] = "touch-devices"; | 1230 const char kTouchDevices[] = "touch-devices"; |
1227 #endif | 1231 #endif |
1228 | 1232 |
1229 | 1233 |
1230 // ----------------------------------------------------------------------------- | 1234 // ----------------------------------------------------------------------------- |
1231 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1235 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1232 // | 1236 // |
1233 // You were going to just dump your switches here, weren't you? Instead, | 1237 // You were going to just dump your switches here, weren't you? Instead, |
1234 // please put them in alphabetical order above, or in order inside the | 1238 // please put them in alphabetical order above, or in order inside the |
1235 // appropriate ifdef at the bottom. The order should match the header. | 1239 // appropriate ifdef at the bottom. The order should match the header. |
1236 // ----------------------------------------------------------------------------- | 1240 // ----------------------------------------------------------------------------- |
1237 | 1241 |
1238 } // namespace switches | 1242 } // namespace switches |
OLD | NEW |