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

Unified Diff: ios/chrome/browser/sync/ios_chrome_sync_client.mm

Issue 2458013002: [Sync] Rename ModelTypeService to ModelTypeSyncBridge. (Closed)
Patch Set: s/SetBridgeError/ErrorOnNextCall Created 4 years, 2 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 | « ios/chrome/browser/sync/ios_chrome_sync_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/sync/ios_chrome_sync_client.mm
diff --git a/ios/chrome/browser/sync/ios_chrome_sync_client.mm b/ios/chrome/browser/sync/ios_chrome_sync_client.mm
index ae39fa256dcdd515f80cac7e2837327eb717cff7..6a777b9274de6ce187be107dcd1536f5c64b3a2c 100644
--- a/ios/chrome/browser/sync/ios_chrome_sync_client.mm
+++ b/ios/chrome/browser/sync/ios_chrome_sync_client.mm
@@ -327,8 +327,8 @@ IOSChromeSyncClient::GetSyncableServiceForType(syncer::ModelType type) {
}
}
-base::WeakPtr<syncer::ModelTypeService>
-IOSChromeSyncClient::GetModelTypeServiceForType(syncer::ModelType type) {
+base::WeakPtr<syncer::ModelTypeSyncBridge>
+IOSChromeSyncClient::GetSyncBridgeForModelType(syncer::ModelType type) {
switch (type) {
case syncer::DEVICE_INFO:
return IOSChromeProfileSyncServiceFactory::GetForBrowserState(
@@ -337,7 +337,7 @@ IOSChromeSyncClient::GetModelTypeServiceForType(syncer::ModelType type) {
->AsWeakPtr();
default:
NOTREACHED();
- return base::WeakPtr<syncer::ModelTypeService>();
+ return base::WeakPtr<syncer::ModelTypeSyncBridge>();
}
}
« no previous file with comments | « ios/chrome/browser/sync/ios_chrome_sync_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698