| 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 22 matching lines...) Expand all Loading... |
| 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. |
| 40 const base::Feature kSyncUserEvents{"SyncUserEvents", | 40 const base::Feature kSyncUserEvents{"SyncUserEvents", |
| 41 base::FEATURE_DISABLED_BY_DEFAULT}; | 41 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 42 | 42 |
| 43 // Gates registration for user language detection events. |
| 44 const base::Feature kSyncUserLanguageDetectionEvents{ |
| 45 "SyncUserLanguageDetectionEvents", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 46 |
| 47 // Gates registration for user translation events. |
| 48 const base::Feature kSyncUserTranslationEvents{ |
| 49 "SyncUserTranslationEvents", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 50 |
| 43 // Enables USS implementation of Autocomplete datatype. | 51 // Enables USS implementation of Autocomplete datatype. |
| 44 const base::Feature kSyncUSSAutocomplete{"SyncUSSAutocomplete", | 52 const base::Feature kSyncUSSAutocomplete{"SyncUSSAutocomplete", |
| 45 base::FEATURE_DISABLED_BY_DEFAULT}; | 53 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 46 | 54 |
| 47 // Enables USS implementation of DeviceInfo datatype. This flag controls whether | 55 // Enables USS implementation of DeviceInfo datatype. This flag controls whether |
| 48 // SyncableService based or ModelTypeSyncBridge based implementation is used for | 56 // SyncableService based or ModelTypeSyncBridge based implementation is used for |
| 49 // DeviceInfo type. | 57 // DeviceInfo type. |
| 50 const base::Feature kSyncUSSDeviceInfo{"EnableSyncUSSDeviceInfo", | 58 const base::Feature kSyncUSSDeviceInfo{"EnableSyncUSSDeviceInfo", |
| 51 base::FEATURE_DISABLED_BY_DEFAULT}; | 59 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 52 | 60 |
| 53 // Enables USS implementation of typed URL datatype. | 61 // Enables USS implementation of typed URL datatype. |
| 54 const base::Feature kSyncUSSTypedURL{"SyncUSSTypedURL", | 62 const base::Feature kSyncUSSTypedURL{"SyncUSSTypedURL", |
| 55 base::FEATURE_DISABLED_BY_DEFAULT}; | 63 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 56 | 64 |
| 57 } // namespace switches | 65 } // namespace switches |
| OLD | NEW |