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

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

Issue 2388163002: [Sync] Move //components/sync to the syncer namespace, take 2. (Closed)
Patch Set: Rebase. 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 02b4f3027a7db78c7b70f8a27434e356e0a768d5..144f13fe0ec7d43665cbd999136b2a1b5e1e0869 100644
--- a/ios/chrome/browser/sync/fake_sync_service_factory.cc
+++ b/ios/chrome/browser/sync/fake_sync_service_factory.cc
@@ -18,12 +18,10 @@ class KeyedFakeSyncService : public KeyedService {
public:
KeyedFakeSyncService() {}
- sync_driver::FakeSyncService* fake_sync_service() {
- return &fake_sync_service_;
- }
+ syncer::FakeSyncService* fake_sync_service() { return &fake_sync_service_; }
private:
- sync_driver::FakeSyncService fake_sync_service_;
+ syncer::FakeSyncService fake_sync_service_;
};
} // namespace
@@ -36,7 +34,7 @@ FakeSyncServiceFactory* FakeSyncServiceFactory::GetInstance() {
}
// static
-sync_driver::FakeSyncService* FakeSyncServiceFactory::GetForBrowserState(
+syncer::FakeSyncService* FakeSyncServiceFactory::GetForBrowserState(
ios::ChromeBrowserState* browser_state) {
return static_cast<KeyedFakeSyncService*>(
FakeSyncServiceFactory::GetInstance()->GetServiceForBrowserState(
@@ -45,8 +43,7 @@ sync_driver::FakeSyncService* FakeSyncServiceFactory::GetForBrowserState(
}
// static
-sync_driver::FakeSyncService*
-FakeSyncServiceFactory::GetForBrowserStateIfExists(
+syncer::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