| 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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 | 523 |
| 524 // Enables 0-RTT HTTPS handshakes. | 524 // Enables 0-RTT HTTPS handshakes. |
| 525 const char kEnableSnapStart[] = "enable-snap-start"; | 525 const char kEnableSnapStart[] = "enable-snap-start"; |
| 526 | 526 |
| 527 // Enable syncing browser data to a Google Account. | 527 // Enable syncing browser data to a Google Account. |
| 528 const char kEnableSync[] = "enable-sync"; | 528 const char kEnableSync[] = "enable-sync"; |
| 529 | 529 |
| 530 // Enable syncing browser autofill. | 530 // Enable syncing browser autofill. |
| 531 const char kEnableSyncAutofill[] = "enable-sync-autofill"; | 531 const char kEnableSyncAutofill[] = "enable-sync-autofill"; |
| 532 | 532 |
| 533 // Enable Sync to use OAuth instead of ClientLogin |
| 534 const char kEnableSyncOAuth[] = "enable-sync-oauth"; |
| 535 |
| 533 // Enable syncing browser sessions. | 536 // Enable syncing browser sessions. |
| 534 const char kEnableSyncSessions[] = "enable-sync-sessions"; | 537 const char kEnableSyncSessions[] = "enable-sync-sessions"; |
| 535 | 538 |
| 536 // Enables context menu for selecting groups of tabs. | 539 // Enables context menu for selecting groups of tabs. |
| 537 const char kEnableTabGroupsContextMenu[] = "enable-tab-groups-context-menu"; | 540 const char kEnableTabGroupsContextMenu[] = "enable-tab-groups-context-menu"; |
| 538 | 541 |
| 539 // Enable syncing browser typed urls. | 542 // Enable syncing browser typed urls. |
| 540 const char kEnableSyncTypedUrls[] = "enable-sync-typed-urls"; | 543 const char kEnableSyncTypedUrls[] = "enable-sync-typed-urls"; |
| 541 | 544 |
| 542 // Enable use of experimental TCP sockets API for sending data in the | 545 // Enable use of experimental TCP sockets API for sending data in the |
| (...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1181 const char kDebugViewsPaint[] = "debug-views-paint"; | 1184 const char kDebugViewsPaint[] = "debug-views-paint"; |
| 1182 #endif | 1185 #endif |
| 1183 | 1186 |
| 1184 // Debug only switch to prevent the mouse cursor from disappearing when | 1187 // Debug only switch to prevent the mouse cursor from disappearing when |
| 1185 // touch is enabled | 1188 // touch is enabled |
| 1186 #if defined(TOUCH_UI) | 1189 #if defined(TOUCH_UI) |
| 1187 const char kKeepMouseCursor[] = "keep-mouse-cursor"; | 1190 const char kKeepMouseCursor[] = "keep-mouse-cursor"; |
| 1188 #endif | 1191 #endif |
| 1189 | 1192 |
| 1190 #ifndef NDEBUG | 1193 #ifndef NDEBUG |
| 1194 // Clear the authentication service before using it. This allows simulating |
| 1195 // the expiration of credentials during testing. |
| 1196 const char kClearAuthenticationService[] = "clear-authentication-service"; |
| 1197 |
| 1191 // Clear the token service before using it. This allows simulating | 1198 // Clear the token service before using it. This allows simulating |
| 1192 // the expiration of credentials during testing. | 1199 // the expiration of credentials during testing. |
| 1193 const char kClearTokenService[] = "clear-token-service"; | 1200 const char kClearTokenService[] = "clear-token-service"; |
| 1194 | 1201 |
| 1195 // Sets a token in the token service, for testing. | 1202 // Sets a token in the token service, for testing. |
| 1196 const char kSetToken[] = "set-token"; | 1203 const char kSetToken[] = "set-token"; |
| 1197 | 1204 |
| 1198 // 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. |
| 1199 // 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) |
| 1200 // to make it faster to test websocket live experiment code. | 1207 // to make it faster to test websocket live experiment code. |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1211 | 1218 |
| 1212 // ----------------------------------------------------------------------------- | 1219 // ----------------------------------------------------------------------------- |
| 1213 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1220 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1214 // | 1221 // |
| 1215 // You were going to just dump your switches here, weren't you? Instead, | 1222 // You were going to just dump your switches here, weren't you? Instead, |
| 1216 // please put them in alphabetical order above, or in order inside the | 1223 // please put them in alphabetical order above, or in order inside the |
| 1217 // appropriate ifdef at the bottom. The order should match the header. | 1224 // appropriate ifdef at the bottom. The order should match the header. |
| 1218 // ----------------------------------------------------------------------------- | 1225 // ----------------------------------------------------------------------------- |
| 1219 | 1226 |
| 1220 } // namespace switches | 1227 } // namespace switches |
| OLD | NEW |