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