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 1050 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1061 | 1061 |
1062 // Used to authenticate requests to the Sync service for supervised users. | 1062 // Used to authenticate requests to the Sync service for supervised users. |
1063 // Setting this switch also causes Sync to be set up for a supervised user. | 1063 // Setting this switch also causes Sync to be set up for a supervised user. |
1064 const char kSupervisedUserSyncToken[] = "managed-user-sync-token"; | 1064 const char kSupervisedUserSyncToken[] = "managed-user-sync-token"; |
1065 | 1065 |
1066 // This flag causes sync to retry very quickly (see polling_constants.h) the | 1066 // This flag causes sync to retry very quickly (see polling_constants.h) the |
1067 // when it encounters an error, as the first step towards exponential backoff. | 1067 // when it encounters an error, as the first step towards exponential backoff. |
1068 const char kSyncShortInitialRetryOverride[] = | 1068 const char kSyncShortInitialRetryOverride[] = |
1069 "sync-short-initial-retry-override"; | 1069 "sync-short-initial-retry-override"; |
1070 | 1070 |
1071 // Overrides the default server used for profile sync. | |
1072 const char kSyncServiceURL[] = "sync-url"; | |
1073 | |
1074 // Enables deferring sync backend initialization until user initiated changes | 1071 // Enables deferring sync backend initialization until user initiated changes |
1075 // occur. | 1072 // occur. |
1076 const char kSyncDisableDeferredStartup[] = "sync-disable-deferred-startup"; | 1073 const char kSyncDisableDeferredStartup[] = "sync-disable-deferred-startup"; |
1077 | 1074 |
1078 // Allows overriding the deferred init fallback timeout. | 1075 // Allows overriding the deferred init fallback timeout. |
1079 const char kSyncDeferredStartupTimeoutSeconds[] = | 1076 const char kSyncDeferredStartupTimeoutSeconds[] = |
1080 "sync-deferred-startup-timeout-seconds"; | 1077 "sync-deferred-startup-timeout-seconds"; |
1081 | 1078 |
1082 // Enables feature to avoid unnecessary GetUpdate requests. | 1079 // Enables feature to avoid unnecessary GetUpdate requests. |
1083 const char kSyncEnableGetUpdateAvoidance[] = | 1080 const char kSyncEnableGetUpdateAvoidance[] = |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1419 | 1416 |
1420 // ----------------------------------------------------------------------------- | 1417 // ----------------------------------------------------------------------------- |
1421 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1418 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1422 // | 1419 // |
1423 // You were going to just dump your switches here, weren't you? Instead, please | 1420 // You were going to just dump your switches here, weren't you? Instead, please |
1424 // put them in alphabetical order above, or in order inside the appropriate | 1421 // put them in alphabetical order above, or in order inside the appropriate |
1425 // ifdef at the bottom. The order should match the header. | 1422 // ifdef at the bottom. The order should match the header. |
1426 // ----------------------------------------------------------------------------- | 1423 // ----------------------------------------------------------------------------- |
1427 | 1424 |
1428 } // namespace switches | 1425 } // namespace switches |
OLD | NEW |