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

Side by Side Diff: components/signin/ios/browser/oauth2_token_service_observer_bridge.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_SIGNIN_IOS_BROWSER_OAUTH2_TOKEN_SERVICE_OBSERVER_BRIDGE_H_ 5 #ifndef COMPONENTS_SIGNIN_IOS_BROWSER_OAUTH2_TOKEN_SERVICE_OBSERVER_BRIDGE_H_
6 #define COMPONENTS_SIGNIN_IOS_BROWSER_OAUTH2_TOKEN_SERVICE_OBSERVER_BRIDGE_H_ 6 #define COMPONENTS_SIGNIN_IOS_BROWSER_OAUTH2_TOKEN_SERVICE_OBSERVER_BRIDGE_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #include "base/macros.h"
10 #include "google_apis/gaia/oauth2_token_service.h" 11 #include "google_apis/gaia/oauth2_token_service.h"
11 12
12 @protocol OAuth2TokenServiceObserverBridgeDelegate <NSObject> 13 @protocol OAuth2TokenServiceObserverBridgeDelegate <NSObject>
13 14
14 @optional 15 @optional
15 16
16 // Informs the delegate that a refresh token is avaible for |account_id|. 17 // Informs the delegate that a refresh token is avaible for |account_id|.
17 - (void)onRefreshTokenAvailable:(const std::string&)account_id; 18 - (void)onRefreshTokenAvailable:(const std::string&)account_id;
18 19
19 // Informs the delegate that the refresh token was revoked for |account_id|. 20 // Informs the delegate that the refresh token was revoked for |account_id|.
(...skipping 27 matching lines...) Expand all
47 void OnEndBatchChanges() override; 48 void OnEndBatchChanges() override;
48 49
49 private: 50 private:
50 OAuth2TokenService* token_service_; // weak 51 OAuth2TokenService* token_service_; // weak
51 id<OAuth2TokenServiceObserverBridgeDelegate> delegate_; 52 id<OAuth2TokenServiceObserverBridgeDelegate> delegate_;
52 53
53 DISALLOW_COPY_AND_ASSIGN(OAuth2TokenServiceObserverBridge); 54 DISALLOW_COPY_AND_ASSIGN(OAuth2TokenServiceObserverBridge);
54 }; 55 };
55 56
56 #endif // COMPONENTS_SIGNIN_IOS_BROWSER_OAUTH2_TOKEN_SERVICE_OBSERVER_BRIDGE_H_ 57 #endif // COMPONENTS_SIGNIN_IOS_BROWSER_OAUTH2_TOKEN_SERVICE_OBSERVER_BRIDGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698