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

Side by Side Diff: ios/chrome/browser/sync/sync_observer_bridge.h

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_BROWSER_SYNC_SYNC_OBSERVER_BRIDGE_H_ 5 #ifndef IOS_CHROME_BROWSER_SYNC_SYNC_OBSERVER_BRIDGE_H_
6 #define IOS_CHROME_BROWSER_SYNC_SYNC_OBSERVER_BRIDGE_H_ 6 #define IOS_CHROME_BROWSER_SYNC_SYNC_OBSERVER_BRIDGE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/ios/weak_nsobject.h" 9 #include "base/ios/weak_nsobject.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/scoped_observer.h" 11 #include "base/scoped_observer.h"
12 #include "components/sync_driver/sync_service_observer.h" 12 #include "components/sync/driver/sync_service_observer.h"
13 13
14 namespace sync_driver { 14 namespace sync_driver {
15 class SyncService; 15 class SyncService;
16 } 16 }
17 17
18 @protocol SyncObserverModelBridge<NSObject> 18 @protocol SyncObserverModelBridge<NSObject>
19 - (void)onSyncStateChanged; 19 - (void)onSyncStateChanged;
20 @optional 20 @optional
21 - (void)onSyncConfigurationCompleted; 21 - (void)onSyncConfigurationCompleted;
22 @end 22 @end
(...skipping 13 matching lines...) Expand all
36 void OnSyncConfigurationCompleted() override; 36 void OnSyncConfigurationCompleted() override;
37 37
38 base::WeakNSProtocol<id<SyncObserverModelBridge>> delegate_; 38 base::WeakNSProtocol<id<SyncObserverModelBridge>> delegate_;
39 ScopedObserver<sync_driver::SyncService, sync_driver::SyncServiceObserver> 39 ScopedObserver<sync_driver::SyncService, sync_driver::SyncServiceObserver>
40 scoped_observer_; 40 scoped_observer_;
41 41
42 DISALLOW_COPY_AND_ASSIGN(SyncObserverBridge); 42 DISALLOW_COPY_AND_ASSIGN(SyncObserverBridge);
43 }; 43 };
44 44
45 #endif // IOS_CHROME_BROWSER_SYNC_SYNC_OBSERVER_BRIDGE_H_ 45 #endif // IOS_CHROME_BROWSER_SYNC_SYNC_OBSERVER_BRIDGE_H_
OLDNEW
« 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