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

Unified Diff: chrome/browser/sync/chrome_sync_client.cc

Issue 2511723002: Enable RL sync by default on iOS (Closed)
Patch Set: rebase Created 4 years, 1 month 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 | « no previous file | components/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/chrome_sync_client.cc
diff --git a/chrome/browser/sync/chrome_sync_client.cc b/chrome/browser/sync/chrome_sync_client.cc
index 2486d7cc19b6f95f8c1b11c4a652c1a845a39654..00281a541b3d688ad2a5a879e0641c17d34efc8f 100644
--- a/chrome/browser/sync/chrome_sync_client.cc
+++ b/chrome/browser/sync/chrome_sync_client.cc
@@ -436,6 +436,10 @@ ChromeSyncClient::GetSyncBridgeForModelType(syncer::ModelType type) {
return ProfileSyncServiceFactory::GetForProfile(profile_)
->GetDeviceInfoSyncBridge()
->AsWeakPtr();
+ case syncer::READING_LIST:
+ // Reading List is only supported on iOS at the moment.
+ NOTREACHED();
+ return base::WeakPtr<syncer::ModelTypeSyncBridge>();
default:
NOTREACHED();
return base::WeakPtr<syncer::ModelTypeSyncBridge>();
« no previous file with comments | « no previous file | components/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698