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

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: Address comments and rename local -> virtual 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 3551bb470cfd48c4e2a3dbfd433939c6f8ac807f..42518ef17cc7ea97e0b29ef3cb7caf74c1be3c0b 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());
tim (not reviewing) 2013/02/05 02:41:58 If you happen to love ascii art, this wouldn't be
+
// Treat bookmarks specially.
RegisterDataTypePreferredPref(prefs, syncer::BOOKMARKS, true);
user_types.Remove(syncer::BOOKMARKS);

Powered by Google App Engine
This is Rietveld 408576698