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

Unified Diff: ios/chrome/browser/sync/sync_observer_bridge.h

Issue 2376123003: [Sync] Move //components/sync to the syncer namespace. (Closed)
Patch Set: Rebase. Created 4 years, 3 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.mm ('k') | ios/chrome/browser/sync/sync_observer_bridge.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/sync/sync_observer_bridge.h
diff --git a/ios/chrome/browser/sync/sync_observer_bridge.h b/ios/chrome/browser/sync/sync_observer_bridge.h
index 80ab7c1b017f0a0f7f911f2e69fff36babf3f557..81bc49dd23464ebc7aebecd9294fc3db753ae532 100644
--- a/ios/chrome/browser/sync/sync_observer_bridge.h
+++ b/ios/chrome/browser/sync/sync_observer_bridge.h
@@ -11,7 +11,7 @@
#include "base/scoped_observer.h"
#include "components/sync/driver/sync_service_observer.h"
-namespace sync_driver {
+namespace syncer {
class SyncService;
}
@@ -22,21 +22,21 @@ class SyncService;
@end
// C++ class to monitor profile sync status in Objective-C type.
-class SyncObserverBridge : public sync_driver::SyncServiceObserver {
+class SyncObserverBridge : public syncer::SyncServiceObserver {
public:
// |service| must outlive the SyncObserverBridge.
SyncObserverBridge(id<SyncObserverModelBridge> delegate,
- sync_driver::SyncService* service);
+ syncer::SyncService* service);
~SyncObserverBridge() override;
private:
- // sync_driver::SyncServiceObserver implementation:
- void OnStateChanged() override;
- void OnSyncConfigurationCompleted() override;
+ // syncer::SyncServiceObserver implementation:
+ void OnStateChanged() override;
+ void OnSyncConfigurationCompleted() override;
base::WeakNSProtocol<id<SyncObserverModelBridge>> delegate_;
- ScopedObserver<sync_driver::SyncService, sync_driver::SyncServiceObserver>
+ ScopedObserver<syncer::SyncService, syncer::SyncServiceObserver>
scoped_observer_;
DISALLOW_COPY_AND_ASSIGN(SyncObserverBridge);
« no previous file with comments | « ios/chrome/browser/sync/ios_chrome_sync_client.mm ('k') | ios/chrome/browser/sync/sync_observer_bridge.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698