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

Unified Diff: ios/chrome/browser/sync/sync_setup_service.cc

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: 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/sync_setup_service.h ('k') | ios/chrome/browser/sync/sync_setup_service_mock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « ios/chrome/browser/sync/sync_setup_service.h ('k') | ios/chrome/browser/sync/sync_setup_service_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698