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

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

Issue 494973003: Disable checkboxes in the advanced sync settings overlay whose type is force-enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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.h
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h
index 4c99c4d48b662037a3de66a58d21b33ce53fd907..af0ff8d3af158838cc18e654878e4560ddbff1ec 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -633,6 +633,10 @@ class ProfileSyncService : public ProfileSyncServiceBase,
// Returns the set of off-thread types which are preferred for enabling.
virtual syncer::ModelTypeSet GetPreferredNonBlockingDataTypes() const;
+ // Returns the set of types which are "preferred" programmatically and can
+ // not be disabled by the user.
+ virtual syncer::ModelTypeSet GetNonUserChoicePreferredDataTypes() const;
Marc Treib 2014/08/21 09:12:24 Any better ideas for what this should be called?
Bernhard Bauer 2014/08/21 15:00:06 GetForcedDataTypes?
Nicolas Zea 2014/08/21 23:33:54 SGTM
Marc Treib 2014/08/22 08:36:38 Done.
+
// Gets the set of all data types that could be allowed (the set that
// should be advertised to the user). These will typically only change
// via a command-line option. See class comment for more on what it means

Powered by Google App Engine
This is Rietveld 408576698