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

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

Issue 2932603002: Set up switches for user language detection and translation events. (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « components/sync/driver/sync_driver_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 22 matching lines...) Expand all
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
OLDNEW
« no previous file with comments | « components/sync/driver/sync_driver_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698