OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 1400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1411 // Makes the sync code to throw an unrecoverable error after initialization. | 1411 // Makes the sync code to throw an unrecoverable error after initialization. |
1412 // Useful for testing unrecoverable error scenarios. | 1412 // Useful for testing unrecoverable error scenarios. |
1413 const char kSyncThrowUnrecoverableError[] = "sync-throw-unrecoverable-error"; | 1413 const char kSyncThrowUnrecoverableError[] = "sync-throw-unrecoverable-error"; |
1414 | 1414 |
1415 | 1415 |
1416 // Tries to connect to XMPP using SSLTCP first (for testing). | 1416 // Tries to connect to XMPP using SSLTCP first (for testing). |
1417 const char kSyncTrySsltcpFirstForXmpp[] = "sync-try-ssltcp-first-for-xmpp"; | 1417 const char kSyncTrySsltcpFirstForXmpp[] = "sync-try-ssltcp-first-for-xmpp"; |
1418 | 1418 |
1419 // Enables deferring sync backend initialization until user initiated changes | 1419 // Enables deferring sync backend initialization until user initiated changes |
1420 // occur. | 1420 // occur. |
1421 const char kSyncEnableDeferredStartup[] = "sync-enable-deferred-startup"; | 1421 const char kSyncDisableDeferredStartup[] = "sync-disable-deferred-startup"; |
| 1422 |
| 1423 // Allows overriding the deferred init fallback timeout. |
| 1424 const char kSyncDeferredStartupTimeoutSeconds[] = |
| 1425 "sync-deferred-startup-timeout-seconds"; |
1422 | 1426 |
1423 // Enables feature to avoid unnecessary GetUpdate requests. | 1427 // Enables feature to avoid unnecessary GetUpdate requests. |
1424 const char kSyncEnableGetUpdateAvoidance[] = | 1428 const char kSyncEnableGetUpdateAvoidance[] = |
1425 "sync-enable-get-update-avoidance"; | 1429 "sync-enable-get-update-avoidance"; |
1426 | 1430 |
1427 // Enables directory support for sync filesystem | 1431 // Enables directory support for sync filesystem |
1428 const char kSyncfsEnableDirectoryOperation[] = | 1432 const char kSyncfsEnableDirectoryOperation[] = |
1429 "enable-syncfs-directory-operation"; | 1433 "enable-syncfs-directory-operation"; |
1430 | 1434 |
1431 // Passes the name of the current running automated test to Chrome. | 1435 // Passes the name of the current running automated test to Chrome. |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1652 | 1656 |
1653 // ----------------------------------------------------------------------------- | 1657 // ----------------------------------------------------------------------------- |
1654 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1658 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1655 // | 1659 // |
1656 // You were going to just dump your switches here, weren't you? Instead, please | 1660 // You were going to just dump your switches here, weren't you? Instead, please |
1657 // put them in alphabetical order above, or in order inside the appropriate | 1661 // put them in alphabetical order above, or in order inside the appropriate |
1658 // ifdef at the bottom. The order should match the header. | 1662 // ifdef at the bottom. The order should match the header. |
1659 // ----------------------------------------------------------------------------- | 1663 // ----------------------------------------------------------------------------- |
1660 | 1664 |
1661 } // namespace switches | 1665 } // namespace switches |
OLD | NEW |