Chromium Code Reviews| 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); |