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

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

Issue 640903002: change newly added OVERRIDE to override in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « components/proximity_auth/cryptauth/cryptauth_api_call_flow_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "google_apis/gaia/oauth2_token_service.h" 10 #include "google_apis/gaia/oauth2_token_service.h"
(...skipping 22 matching lines...) Expand all
33 // Bridge class that listens for |OAuth2TokenService| notifications and passes 33 // Bridge class that listens for |OAuth2TokenService| notifications and passes
34 // them to its Objective-C delegate. 34 // them to its Objective-C delegate.
35 class OAuth2TokenServiceObserverBridge : public OAuth2TokenService::Observer { 35 class OAuth2TokenServiceObserverBridge : public OAuth2TokenService::Observer {
36 public: 36 public:
37 OAuth2TokenServiceObserverBridge( 37 OAuth2TokenServiceObserverBridge(
38 OAuth2TokenService* token_service, 38 OAuth2TokenService* token_service,
39 id<OAuth2TokenServiceObserverBridgeDelegate> delegate); 39 id<OAuth2TokenServiceObserverBridgeDelegate> delegate);
40 virtual ~OAuth2TokenServiceObserverBridge(); 40 virtual ~OAuth2TokenServiceObserverBridge();
41 41
42 // OAuth2TokenService::Observer 42 // OAuth2TokenService::Observer
43 virtual void OnRefreshTokenAvailable(const std::string& account_id) OVERRIDE; 43 virtual void OnRefreshTokenAvailable(const std::string& account_id) override;
44 virtual void OnRefreshTokenRevoked(const std::string& account_id) OVERRIDE; 44 virtual void OnRefreshTokenRevoked(const std::string& account_id) override;
45 virtual void OnRefreshTokensLoaded() OVERRIDE; 45 virtual void OnRefreshTokensLoaded() override;
46 virtual void OnStartBatchChanges() OVERRIDE; 46 virtual void OnStartBatchChanges() override;
47 virtual void OnEndBatchChanges() OVERRIDE; 47 virtual void OnEndBatchChanges() override;
48 48
49 private: 49 private:
50 OAuth2TokenService* token_service_; // weak 50 OAuth2TokenService* token_service_; // weak
51 id<OAuth2TokenServiceObserverBridgeDelegate> delegate_; 51 id<OAuth2TokenServiceObserverBridgeDelegate> delegate_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(OAuth2TokenServiceObserverBridge); 53 DISALLOW_COPY_AND_ASSIGN(OAuth2TokenServiceObserverBridge);
54 }; 54 };
55 55
56 #endif // COMPONENTS_SIGNIN_IOS_BROWSER_OAUTH2_TOKEN_SERVICE_OBSERVER_BRIDGE_H_ 56 #endif // COMPONENTS_SIGNIN_IOS_BROWSER_OAUTH2_TOKEN_SERVICE_OBSERVER_BRIDGE_H_
OLDNEW
« no previous file with comments | « components/proximity_auth/cryptauth/cryptauth_api_call_flow_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698