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

Unified Diff: ios/chrome/browser/sync/fake_sync_service_factory.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/fake_sync_service_factory.h ('k') | ios/chrome/browser/sync/glue/sync_start_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/sync/fake_sync_service_factory.cc
diff --git a/ios/chrome/browser/sync/fake_sync_service_factory.cc b/ios/chrome/browser/sync/fake_sync_service_factory.cc
index 144f13fe0ec7d43665cbd999136b2a1b5e1e0869..02b4f3027a7db78c7b70f8a27434e356e0a768d5 100644
--- a/ios/chrome/browser/sync/fake_sync_service_factory.cc
+++ b/ios/chrome/browser/sync/fake_sync_service_factory.cc
@@ -18,10 +18,12 @@ class KeyedFakeSyncService : public KeyedService {
public:
KeyedFakeSyncService() {}
- syncer::FakeSyncService* fake_sync_service() { return &fake_sync_service_; }
+ sync_driver::FakeSyncService* fake_sync_service() {
+ return &fake_sync_service_;
+ }
private:
- syncer::FakeSyncService fake_sync_service_;
+ sync_driver::FakeSyncService fake_sync_service_;
};
} // namespace
@@ -34,7 +36,7 @@ FakeSyncServiceFactory* FakeSyncServiceFactory::GetInstance() {
}
// static
-syncer::FakeSyncService* FakeSyncServiceFactory::GetForBrowserState(
+sync_driver::FakeSyncService* FakeSyncServiceFactory::GetForBrowserState(
ios::ChromeBrowserState* browser_state) {
return static_cast<KeyedFakeSyncService*>(
FakeSyncServiceFactory::GetInstance()->GetServiceForBrowserState(
@@ -43,7 +45,8 @@ syncer::FakeSyncService* FakeSyncServiceFactory::GetForBrowserState(
}
// static
-syncer::FakeSyncService* FakeSyncServiceFactory::GetForBrowserStateIfExists(
+sync_driver::FakeSyncService*
+FakeSyncServiceFactory::GetForBrowserStateIfExists(
ios::ChromeBrowserState* browser_state) {
return static_cast<KeyedFakeSyncService*>(
FakeSyncServiceFactory::GetInstance()->GetServiceForBrowserState(
« no previous file with comments | « ios/chrome/browser/sync/fake_sync_service_factory.h ('k') | ios/chrome/browser/sync/glue/sync_start_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698