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

Side by Side Diff: ios/chrome/browser/signin/chrome_identity_service_observer_bridge.h

Issue 2603973002: Import Objective C Frameworks (Closed)
Patch Set: only ios Created 3 years, 11 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_SIGNIN_CHROME_IDENTITY_SERVICE_OBSERVER_BRIDGE_H_ 5 #ifndef IOS_CHROME_BROWSER_SIGNIN_CHROME_IDENTITY_SERVICE_OBSERVER_BRIDGE_H_
6 #define IOS_CHROME_BROWSER_SIGNIN_CHROME_IDENTITY_SERVICE_OBSERVER_BRIDGE_H_ 6 #define IOS_CHROME_BROWSER_SIGNIN_CHROME_IDENTITY_SERVICE_OBSERVER_BRIDGE_H_
7 7
8 #include <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/scoped_observer.h" 11 #include "base/scoped_observer.h"
12 #include "ios/public/provider/chrome/browser/signin/chrome_identity_service.h" 12 #include "ios/public/provider/chrome/browser/signin/chrome_identity_service.h"
13 13
14 // Objective-C protocol mirroring ChromeIdentityService::Observer. 14 // Objective-C protocol mirroring ChromeIdentityService::Observer.
15 @protocol ChromeIdentityServiceObserver<NSObject> 15 @protocol ChromeIdentityServiceObserver<NSObject>
16 @optional 16 @optional
17 - (void)onIdentityListChanged; 17 - (void)onIdentityListChanged;
18 - (void)onAccessTokenRefreshFailed:(ChromeIdentity*)identity 18 - (void)onAccessTokenRefreshFailed:(ChromeIdentity*)identity
(...skipping 19 matching lines...) Expand all
38 void OnChromeIdentityServiceWillBeDestroyed() override; 38 void OnChromeIdentityServiceWillBeDestroyed() override;
39 39
40 id<ChromeIdentityServiceObserver> observer_; // Weak. |observer_| owns this. 40 id<ChromeIdentityServiceObserver> observer_; // Weak. |observer_| owns this.
41 ScopedObserver<ios::ChromeIdentityService, 41 ScopedObserver<ios::ChromeIdentityService,
42 ChromeIdentityServiceObserverBridge> scoped_observer_; 42 ChromeIdentityServiceObserverBridge> scoped_observer_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(ChromeIdentityServiceObserverBridge); 44 DISALLOW_COPY_AND_ASSIGN(ChromeIdentityServiceObserverBridge);
45 }; 45 };
46 46
47 #endif // IOS_CHROME_BROWSER_SIGNIN_CHROME_IDENTITY_SERVICE_OBSERVER_BRIDGE_H_ 47 #endif // IOS_CHROME_BROWSER_SIGNIN_CHROME_IDENTITY_SERVICE_OBSERVER_BRIDGE_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/signin/authentication_service.mm ('k') | ios/chrome/browser/signin/constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698