Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: components/sync/driver/sync_driver_switches.cc

Issue 2968133002: Revert of [Sync] Enable UserEvents by default. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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. Enabled by 39 // Gates registration and construction of user events machinery.
40 // default as each use case should have their own gating feature as well.
41 const base::Feature kSyncUserEvents{"SyncUserEvents", 40 const base::Feature kSyncUserEvents{"SyncUserEvents",
42 base::FEATURE_ENABLED_BY_DEFAULT}; 41 base::FEATURE_DISABLED_BY_DEFAULT};
43 42
44 // Gates registration for user language detection events. 43 // Gates registration for user language detection events.
45 const base::Feature kSyncUserLanguageDetectionEvents{ 44 const base::Feature kSyncUserLanguageDetectionEvents{
46 "SyncUserLanguageDetectionEvents", base::FEATURE_DISABLED_BY_DEFAULT}; 45 "SyncUserLanguageDetectionEvents", base::FEATURE_DISABLED_BY_DEFAULT};
47 46
48 // Gates registration for user translation events. 47 // Gates registration for user translation events.
49 const base::Feature kSyncUserTranslationEvents{ 48 const base::Feature kSyncUserTranslationEvents{
50 "SyncUserTranslationEvents", base::FEATURE_DISABLED_BY_DEFAULT}; 49 "SyncUserTranslationEvents", base::FEATURE_DISABLED_BY_DEFAULT};
51 50
52 // Enables USS implementation of Autocomplete datatype. 51 // Enables USS implementation of Autocomplete datatype.
53 const base::Feature kSyncUSSAutocomplete{"SyncUSSAutocomplete", 52 const base::Feature kSyncUSSAutocomplete{"SyncUSSAutocomplete",
54 base::FEATURE_DISABLED_BY_DEFAULT}; 53 base::FEATURE_DISABLED_BY_DEFAULT};
55 54
56 // Enables USS implementation of DeviceInfo datatype. This flag controls whether 55 // Enables USS implementation of DeviceInfo datatype. This flag controls whether
57 // SyncableService based or ModelTypeSyncBridge based implementation is used for 56 // SyncableService based or ModelTypeSyncBridge based implementation is used for
58 // DeviceInfo type. 57 // DeviceInfo type.
59 const base::Feature kSyncUSSDeviceInfo{"EnableSyncUSSDeviceInfo", 58 const base::Feature kSyncUSSDeviceInfo{"EnableSyncUSSDeviceInfo",
60 base::FEATURE_DISABLED_BY_DEFAULT}; 59 base::FEATURE_DISABLED_BY_DEFAULT};
61 60
62 // Enables USS implementation of typed URL datatype. 61 // Enables USS implementation of typed URL datatype.
63 const base::Feature kSyncUSSTypedURL{"SyncUSSTypedURL", 62 const base::Feature kSyncUSSTypedURL{"SyncUSSTypedURL",
64 base::FEATURE_DISABLED_BY_DEFAULT}; 63 base::FEATURE_DISABLED_BY_DEFAULT};
65 64
66 } // namespace switches 65 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698