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

Unified Diff: components/sync/driver/sync_prefs.cc

Issue 2241583003: Creating protobuf for reading list sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 3 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
« no previous file with comments | « components/sync/driver/pref_names.cc ('k') | components/sync/driver/sync_prefs_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/sync_prefs.cc
diff --git a/components/sync/driver/sync_prefs.cc b/components/sync/driver/sync_prefs.cc
index 50a142df923ba3c940bbc0916a2fec2ebdf42a7c..de17151a18c02cfceac8dca1ed7d819b147f6278 100644
--- a/components/sync/driver/sync_prefs.cc
+++ b/components/sync/driver/sync_prefs.cc
@@ -322,6 +322,8 @@ const char* SyncPrefs::GetPrefNameForDataType(syncer::ModelType data_type) {
return prefs::kSyncArcPackage;
case syncer::PRINTERS:
return prefs::kSyncPrinters;
+ case syncer::READING_LIST:
+ return prefs::kSyncReadingList;
default:
break;
}
@@ -357,6 +359,7 @@ void SyncPrefs::RegisterPrefGroups() {
pref_groups_[syncer::APPS].Put(syncer::APP_SETTINGS);
pref_groups_[syncer::APPS].Put(syncer::APP_LIST);
pref_groups_[syncer::APPS].Put(syncer::ARC_PACKAGE);
+ pref_groups_[syncer::APPS].Put(syncer::READING_LIST);
pref_groups_[syncer::AUTOFILL].Put(syncer::AUTOFILL_PROFILE);
pref_groups_[syncer::AUTOFILL].Put(syncer::AUTOFILL_WALLET_DATA);
« no previous file with comments | « components/sync/driver/pref_names.cc ('k') | components/sync/driver/sync_prefs_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698