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