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); |