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

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

Issue 2869633003: [Sync] Hook UserEvents into sync. (Closed)
Patch Set: Rebase Created 3 years, 7 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.
40 const base::Feature kSyncUserEvents{"SyncUserEvents",
41 base::FEATURE_DISABLED_BY_DEFAULT};
42
43 // Enables USS implementation of Autocomplete datatype.
44 const base::Feature kSyncUSSAutocomplete{"SyncUSSAutocomplete",
45 base::FEATURE_DISABLED_BY_DEFAULT};
46
39 // Enables USS implementation of DeviceInfo datatype. This flag controls whether 47 // Enables USS implementation of DeviceInfo datatype. This flag controls whether
40 // SyncableService based or ModelTypeSyncBridge based implementation is used for 48 // SyncableService based or ModelTypeSyncBridge based implementation is used for
41 // DeviceInfo type. 49 // DeviceInfo type.
42 const base::Feature kSyncUSSDeviceInfo{"EnableSyncUSSDeviceInfo", 50 const base::Feature kSyncUSSDeviceInfo{"EnableSyncUSSDeviceInfo",
43 base::FEATURE_DISABLED_BY_DEFAULT}; 51 base::FEATURE_DISABLED_BY_DEFAULT};
44 52
45 // Enables USS implementation of Autocomplete datatype.
46 const base::Feature kSyncUSSAutocomplete{"SyncUSSAutocomplete",
47 base::FEATURE_DISABLED_BY_DEFAULT};
48
49 // Enables USS implementation of typed URL datatype. 53 // Enables USS implementation of typed URL datatype.
50 const base::Feature kSyncUSSTypedURL{"SyncUSSTypedURL", 54 const base::Feature kSyncUSSTypedURL{"SyncUSSTypedURL",
51 base::FEATURE_DISABLED_BY_DEFAULT}; 55 base::FEATURE_DISABLED_BY_DEFAULT};
52 56
53 } // namespace switches 57 } // namespace switches
OLDNEW
« no previous file with comments | « components/sync/driver/sync_driver_switches.h ('k') | components/sync/user_events/user_event_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698