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