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

Unified Diff: chrome/browser/sync/sync_prefs.cc

Issue 11958029: [Sync] Add support for proxy types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 7 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
Index: chrome/browser/sync/sync_prefs.cc
diff --git a/chrome/browser/sync/sync_prefs.cc b/chrome/browser/sync/sync_prefs.cc
index 9aa75fc97a6fd87817252892a4c08280b5596d7e..77fe71594392c83214cdf43ede4c77afd685ea3f 100644
--- a/chrome/browser/sync/sync_prefs.cc
+++ b/chrome/browser/sync/sync_prefs.cc
@@ -69,6 +69,10 @@ void SyncPrefs::RegisterUserPrefs(PrefServiceSyncable* prefs) {
syncer::ModelTypeSet user_types = syncer::UserTypes();
+ // Include virtual types as well, as they can be individually selected,
+ // although they don't have sync representations.
+ user_types.PutAll(syncer::VirtualTypes());
+
// Treat bookmarks specially.
RegisterDataTypePreferredPref(prefs, syncer::BOOKMARKS, true);
user_types.Remove(syncer::BOOKMARKS);

Powered by Google App Engine
This is Rietveld 408576698