OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/sync_driver/sync_driver_switches.h" | 5 #include "components/sync/driver/sync_driver_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // Allows overriding the deferred init fallback timeout. | 9 // Allows overriding the deferred init fallback timeout. |
10 const char kSyncDeferredStartupTimeoutSeconds[] = | 10 const char kSyncDeferredStartupTimeoutSeconds[] = |
11 "sync-deferred-startup-timeout-seconds"; | 11 "sync-deferred-startup-timeout-seconds"; |
12 | 12 |
13 // Enables deferring sync backend initialization until user initiated changes | 13 // Enables deferring sync backend initialization until user initiated changes |
14 // occur. | 14 // occur. |
15 const char kSyncDisableDeferredStartup[] = "sync-disable-deferred-startup"; | 15 const char kSyncDisableDeferredStartup[] = "sync-disable-deferred-startup"; |
16 | 16 |
17 // Enables feature to avoid unnecessary GetUpdate requests. | 17 // Enables feature to avoid unnecessary GetUpdate requests. |
18 const char kSyncEnableGetUpdateAvoidance[] = | 18 const char kSyncEnableGetUpdateAvoidance[] = "sync-enable-get-update-avoidance"; |
19 "sync-enable-get-update-avoidance"; | |
20 | 19 |
21 // Enables USS implementation of DeviceInfo datatype. This flag controls whether | 20 // Enables USS implementation of DeviceInfo datatype. This flag controls whether |
22 // SyncableService based or ModelTypeService based implementation is used for | 21 // SyncableService based or ModelTypeService based implementation is used for |
23 // DeviceInfo type. | 22 // DeviceInfo type. |
24 const char kSyncEnableUSSDeviceInfo[] = "sync-enable-uss-device-info"; | 23 const char kSyncEnableUSSDeviceInfo[] = "sync-enable-uss-device-info"; |
25 | 24 |
26 // Overrides the default server used for profile sync. | 25 // Overrides the default server used for profile sync. |
27 const char kSyncServiceURL[] = "sync-url"; | 26 const char kSyncServiceURL[] = "sync-url"; |
28 | 27 |
29 // This flag causes sync to retry very quickly (see polling_constants.h) the | 28 // This flag causes sync to retry very quickly (see polling_constants.h) the |
30 // when it encounters an error, as the first step towards exponential backoff. | 29 // when it encounters an error, as the first step towards exponential backoff. |
31 const char kSyncShortInitialRetryOverride[] = | 30 const char kSyncShortInitialRetryOverride[] = |
32 "sync-short-initial-retry-override"; | 31 "sync-short-initial-retry-override"; |
33 | 32 |
34 // Enables clearing of sync data when a user enables passphrase encryption. | 33 // Enables clearing of sync data when a user enables passphrase encryption. |
35 const base::Feature kSyncClearDataOnPassphraseEncryption{ | 34 const base::Feature kSyncClearDataOnPassphraseEncryption{ |
36 "ClearSyncDataOnPassphraseEncryption", base::FEATURE_DISABLED_BY_DEFAULT}; | 35 "ClearSyncDataOnPassphraseEncryption", base::FEATURE_DISABLED_BY_DEFAULT}; |
37 | 36 |
38 } // namespace switches | 37 } // namespace switches |
OLD | NEW |