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

Unified Diff: components/sync/base/sync_prefs.h

Issue 2670903002: [Sync] Make EnableDisableSingleClientTest more robust. (Closed)
Patch Set: Updates for Patrick. Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/sync/test/integration/profile_sync_service_harness.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/base/sync_prefs.h
diff --git a/components/sync/base/sync_prefs.h b/components/sync/base/sync_prefs.h
index 94925b7fe3109a5c570615bbde32c07bc180abd8..77bff6c88bb7b04ba0efbb46b9df127262ce5516 100644
--- a/components/sync/base/sync_prefs.h
+++ b/components/sync/base/sync_prefs.h
@@ -184,6 +184,11 @@ class SyncPrefs : NON_EXPORTED_BASE(public base::NonThreadSafe),
bool IsLocalSyncEnabled() const;
base::FilePath GetLocalSyncBackendDir() const;
+ // Returns a ModelTypeSet based on |types| expanded to include pref groups
+ // (see |pref_groups_|), but as a subset of |registered_types|.
+ ModelTypeSet ResolvePrefGroups(ModelTypeSet registered_types,
+ ModelTypeSet types) const;
+
private:
void RegisterPrefGroups();
@@ -194,11 +199,6 @@ class SyncPrefs : NON_EXPORTED_BASE(public base::NonThreadSafe),
bool GetDataTypePreferred(ModelType type) const;
void SetDataTypePreferred(ModelType type, bool is_preferred);
- // Returns a ModelTypeSet based on |types| expanded to include pref groups
- // (see |pref_groups_|), but as a subset of |registered_types|.
- ModelTypeSet ResolvePrefGroups(ModelTypeSet registered_types,
- ModelTypeSet types) const;
-
void OnSyncManagedPrefChanged();
// May be null.
« no previous file with comments | « chrome/browser/sync/test/integration/profile_sync_service_harness.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698