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[] = |
(...skipping 18 matching lines...) Expand all Loading... |
29 // purpose is to speed up integration tests. The normal delay allows coalescing | 29 // purpose is to speed up integration tests. The normal delay allows coalescing |
30 // and prevention of server overload, so don't use this unless you're really | 30 // and prevention of server overload, so don't use this unless you're really |
31 // sure | 31 // sure |
32 // that it's what you want. | 32 // that it's what you want. |
33 const char kSyncShortNudgeDelayForTest[] = "sync-short-nudge-delay-for-test"; | 33 const char kSyncShortNudgeDelayForTest[] = "sync-short-nudge-delay-for-test"; |
34 | 34 |
35 // Enables clearing of sync data when a user enables passphrase encryption. | 35 // Enables clearing of sync data when a user enables passphrase encryption. |
36 const base::Feature kSyncClearDataOnPassphraseEncryption{ | 36 const base::Feature kSyncClearDataOnPassphraseEncryption{ |
37 "ClearSyncDataOnPassphraseEncryption", base::FEATURE_DISABLED_BY_DEFAULT}; | 37 "ClearSyncDataOnPassphraseEncryption", base::FEATURE_DISABLED_BY_DEFAULT}; |
38 | 38 |
39 // Gates registration and construction of user events machinery. | 39 // Gates registration and construction of user events machinery. Enabled by |
| 40 // default as each use case should have their own gating feature as well. |
40 const base::Feature kSyncUserEvents{"SyncUserEvents", | 41 const base::Feature kSyncUserEvents{"SyncUserEvents", |
41 base::FEATURE_DISABLED_BY_DEFAULT}; | 42 base::FEATURE_ENABLED_BY_DEFAULT}; |
42 | 43 |
43 // Gates registration for user language detection events. | 44 // Gates registration for user language detection events. |
44 const base::Feature kSyncUserLanguageDetectionEvents{ | 45 const base::Feature kSyncUserLanguageDetectionEvents{ |
45 "SyncUserLanguageDetectionEvents", base::FEATURE_DISABLED_BY_DEFAULT}; | 46 "SyncUserLanguageDetectionEvents", base::FEATURE_DISABLED_BY_DEFAULT}; |
46 | 47 |
47 // Gates registration for user translation events. | 48 // Gates registration for user translation events. |
48 const base::Feature kSyncUserTranslationEvents{ | 49 const base::Feature kSyncUserTranslationEvents{ |
49 "SyncUserTranslationEvents", base::FEATURE_DISABLED_BY_DEFAULT}; | 50 "SyncUserTranslationEvents", base::FEATURE_DISABLED_BY_DEFAULT}; |
50 | 51 |
51 // Enables USS implementation of Autocomplete datatype. | 52 // Enables USS implementation of Autocomplete datatype. |
52 const base::Feature kSyncUSSAutocomplete{"SyncUSSAutocomplete", | 53 const base::Feature kSyncUSSAutocomplete{"SyncUSSAutocomplete", |
53 base::FEATURE_DISABLED_BY_DEFAULT}; | 54 base::FEATURE_DISABLED_BY_DEFAULT}; |
54 | 55 |
55 // Enables USS implementation of DeviceInfo datatype. This flag controls whether | 56 // Enables USS implementation of DeviceInfo datatype. This flag controls whether |
56 // SyncableService based or ModelTypeSyncBridge based implementation is used for | 57 // SyncableService based or ModelTypeSyncBridge based implementation is used for |
57 // DeviceInfo type. | 58 // DeviceInfo type. |
58 const base::Feature kSyncUSSDeviceInfo{"EnableSyncUSSDeviceInfo", | 59 const base::Feature kSyncUSSDeviceInfo{"EnableSyncUSSDeviceInfo", |
59 base::FEATURE_DISABLED_BY_DEFAULT}; | 60 base::FEATURE_DISABLED_BY_DEFAULT}; |
60 | 61 |
61 // Enables USS implementation of typed URL datatype. | 62 // Enables USS implementation of typed URL datatype. |
62 const base::Feature kSyncUSSTypedURL{"SyncUSSTypedURL", | 63 const base::Feature kSyncUSSTypedURL{"SyncUSSTypedURL", |
63 base::FEATURE_DISABLED_BY_DEFAULT}; | 64 base::FEATURE_DISABLED_BY_DEFAULT}; |
64 | 65 |
65 } // namespace switches | 66 } // namespace switches |
OLD | NEW |