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

Unified Diff: components/browser_sync/profile_sync_service.cc

Issue 2548413002: Fix sync for reading list (Closed)
Patch Set: Update DEPS Created 4 years 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/browser_sync/BUILD.gn ('k') | components/sync/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browser_sync/profile_sync_service.cc
diff --git a/components/browser_sync/profile_sync_service.cc b/components/browser_sync/profile_sync_service.cc
index 5103619a76a7c4a18c4cfc38fffb3b92f0222b78..97e0376fdd88bc6d67b9bbbb6cfab67ddb9f3fda 100644
--- a/components/browser_sync/profile_sync_service.cc
+++ b/components/browser_sync/profile_sync_service.cc
@@ -33,6 +33,7 @@
#include "components/invalidation/public/invalidation_service.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/json_pref_store.h"
+#include "components/reading_list/core/reading_list_enable_flags.h"
#include "components/signin/core/browser/about_signin_internals.h"
#include "components/signin/core/browser/profile_oauth2_token_service.h"
#include "components/signin/core/browser/signin_manager.h"
@@ -1687,15 +1688,18 @@ void ProfileSyncService::UpdateSelectedTypesHistogram(
// the respective types in ModelType
const syncer::user_selectable_type::UserSelectableSyncType
user_selectable_types[] = {
- syncer::user_selectable_type::BOOKMARKS,
- syncer::user_selectable_type::PREFERENCES,
- syncer::user_selectable_type::PASSWORDS,
- syncer::user_selectable_type::AUTOFILL,
- syncer::user_selectable_type::THEMES,
- syncer::user_selectable_type::TYPED_URLS,
- syncer::user_selectable_type::EXTENSIONS,
- syncer::user_selectable_type::APPS,
- syncer::user_selectable_type::PROXY_TABS,
+ syncer::user_selectable_type::BOOKMARKS,
+ syncer::user_selectable_type::PREFERENCES,
+ syncer::user_selectable_type::PASSWORDS,
+ syncer::user_selectable_type::AUTOFILL,
+ syncer::user_selectable_type::THEMES,
+ syncer::user_selectable_type::TYPED_URLS,
+ syncer::user_selectable_type::EXTENSIONS,
+ syncer::user_selectable_type::APPS,
+#if BUILDFLAG(ENABLE_READING_LIST)
+ syncer::user_selectable_type::READING_LIST,
+#endif
+ syncer::user_selectable_type::PROXY_TABS,
};
static_assert(39 == syncer::MODEL_TYPE_COUNT,
« no previous file with comments | « components/browser_sync/BUILD.gn ('k') | components/sync/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698