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