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

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

Issue 2511723002: Enable RL sync by default on iOS (Closed)
Patch Set: add guard 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
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 05a808c5e13aac51ad1711391b0d82bd45388c80..48b95d594eda1eb77bc23455cd00432ecc2f782e 100644
--- a/chrome/browser/sync/chrome_sync_client.cc
+++ b/chrome/browser/sync/chrome_sync_client.cc
@@ -436,6 +436,9 @@ ChromeSyncClient::GetSyncBridgeForModelType(syncer::ModelType type) {
return ProfileSyncServiceFactory::GetForProfile(profile_)
->GetDeviceInfoSyncBridge()
->AsWeakPtr();
+ case syncer::READING_LIST:
pavely 2016/11/20 02:31:58 You can add NOTREACHED() as well as this function
Olivier 2016/11/20 10:32:33 Done.
+ // Reading List is only supported on iOS at the moment.
+ return base::WeakPtr<syncer::ModelTypeSyncBridge>();
default:
NOTREACHED();
return base::WeakPtr<syncer::ModelTypeSyncBridge>();

Powered by Google App Engine
This is Rietveld 408576698