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

Unified Diff: chrome/browser/sync/profile_sync_service_base.h

Issue 16105012: Unrevert "[Sync] Split GetPreferredTypes into GetActiveType..."" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adjust mock Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/profile_sync_service_base.h
diff --git a/chrome/browser/sync/profile_sync_service_base.h b/chrome/browser/sync/profile_sync_service_base.h
index dfb5386df67a48b02cfb89ba218707fca95edef7..c73ae315f20c23757ca31fc9677e4734ba9bb19a 100644
--- a/chrome/browser/sync/profile_sync_service_base.h
+++ b/chrome/browser/sync/profile_sync_service_base.h
@@ -31,10 +31,9 @@ class ProfileSyncServiceBase {
// any model-modifying operations.
virtual bool ShouldPushChanges() = 0;
- // Get the set of currently enabled data types (as chosen or
- // configured by the user). See class comment on ProfileSyncService
- // for more on what it means for a datatype to be Preferred.
- virtual syncer::ModelTypeSet GetPreferredDataTypes() const = 0;
+ // Get the set of current active data types (those chosen or configured by
+ // the user which have not also encountered a runtime error).
+ virtual syncer::ModelTypeSet GetActiveDataTypes() const = 0;
// Adds/removes an observer. ProfileSyncServiceBase does not take
// ownership of the observer.
« no previous file with comments | « chrome/browser/sync/profile_sync_service_android.cc ('k') | chrome/browser/sync/profile_sync_service_harness.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698