Index: ios/chrome/browser/sync/sync_setup_service.cc |
diff --git a/ios/chrome/browser/sync/sync_setup_service.cc b/ios/chrome/browser/sync/sync_setup_service.cc |
index b8a8b4393db55d1be32c146e01c2b316e76da482..ae0ac629290bd570788589688a4844e1e7814e31 100644 |
--- a/ios/chrome/browser/sync/sync_setup_service.cc |
+++ b/ios/chrome/browser/sync/sync_setup_service.cc |
@@ -27,7 +27,7 @@ syncer::ModelType kDataTypes[] = { |
}; |
} // namespace |
-SyncSetupService::SyncSetupService(syncer::SyncService* sync_service, |
+SyncSetupService::SyncSetupService(sync_driver::SyncService* sync_service, |
PrefService* prefs) |
: sync_service_(sync_service), prefs_(prefs) { |
DCHECK(sync_service_); |
@@ -92,7 +92,7 @@ bool SyncSetupService::UserActionIsRequiredToHaveSyncWork() { |
} |
bool SyncSetupService::IsSyncingAllDataTypes() const { |
- syncer::SyncPrefs sync_prefs(prefs_); |
+ sync_driver::SyncPrefs sync_prefs(prefs_); |
return sync_prefs.HasKeepEverythingSynced(); |
} |
@@ -195,6 +195,6 @@ void SyncSetupService::SetSyncEnabledWithoutChangingDatatypes( |
} else { |
UMA_HISTOGRAM_ENUMERATION("Sync.StopSource", syncer::CHROME_SYNC_SETTINGS, |
syncer::STOP_SOURCE_LIMIT); |
- sync_service_->RequestStop(syncer::SyncService::KEEP_DATA); |
+ sync_service_->RequestStop(sync_driver::SyncService::KEEP_DATA); |
} |
} |