OLD | NEW |
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 #ifndef COMPONENTS_SIGNIN_IOS_BROWSER_PROFILE_OAUTH2_TOKEN_SERVICE_IOS_DELEGATE_
H_ | 4 #ifndef COMPONENTS_SIGNIN_IOS_BROWSER_PROFILE_OAUTH2_TOKEN_SERVICE_IOS_DELEGATE_
H_ |
5 #define COMPONENTS_SIGNIN_IOS_BROWSER_PROFILE_OAUTH2_TOKEN_SERVICE_IOS_DELEGATE_
H_ | 5 #define COMPONENTS_SIGNIN_IOS_BROWSER_PROFILE_OAUTH2_TOKEN_SERVICE_IOS_DELEGATE_
H_ |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/linked_ptr.h" | 11 #include "base/memory/linked_ptr.h" |
12 #include "base/threading/thread_checker.h" | 12 #include "base/threading/thread_checker.h" |
13 #include "components/signin/core/browser/signin_error_controller.h" | 13 #include "components/signin/core/browser/signin_error_controller.h" |
14 #include "google_apis/gaia/oauth2_token_service_delegate.h" | 14 #include "google_apis/gaia/oauth2_token_service_delegate.h" |
15 | 15 |
16 class AccountTrackerService; | 16 class AccountTrackerService; |
17 class ProfileOAuth2TokenServiceIOSProvider; | 17 class ProfileOAuth2TokenServiceIOSProvider; |
| 18 class SigninClient; |
18 | 19 |
19 class ProfileOAuth2TokenServiceIOSDelegate : public OAuth2TokenServiceDelegate { | 20 class ProfileOAuth2TokenServiceIOSDelegate : public OAuth2TokenServiceDelegate { |
20 public: | 21 public: |
21 ProfileOAuth2TokenServiceIOSDelegate( | 22 ProfileOAuth2TokenServiceIOSDelegate( |
22 SigninClient* client, | 23 SigninClient* client, |
23 std::unique_ptr<ProfileOAuth2TokenServiceIOSProvider> provider, | 24 std::unique_ptr<ProfileOAuth2TokenServiceIOSProvider> provider, |
24 AccountTrackerService* account_tracker_service, | 25 AccountTrackerService* account_tracker_service, |
25 SigninErrorController* signin_error_controller); | 26 SigninErrorController* signin_error_controller); |
26 ~ProfileOAuth2TokenServiceIOSDelegate() override; | 27 ~ProfileOAuth2TokenServiceIOSDelegate() override; |
27 | 28 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 SigninClient* client_; | 119 SigninClient* client_; |
119 std::unique_ptr<ProfileOAuth2TokenServiceIOSProvider> provider_; | 120 std::unique_ptr<ProfileOAuth2TokenServiceIOSProvider> provider_; |
120 AccountTrackerService* account_tracker_service_; | 121 AccountTrackerService* account_tracker_service_; |
121 | 122 |
122 // The error controller with which this instance was initialized, or NULL. | 123 // The error controller with which this instance was initialized, or NULL. |
123 SigninErrorController* signin_error_controller_; | 124 SigninErrorController* signin_error_controller_; |
124 | 125 |
125 DISALLOW_COPY_AND_ASSIGN(ProfileOAuth2TokenServiceIOSDelegate); | 126 DISALLOW_COPY_AND_ASSIGN(ProfileOAuth2TokenServiceIOSDelegate); |
126 }; | 127 }; |
127 #endif // COMPONENTS_SIGNIN_IOS_BROWSER_PROFILE_OAUTH2_TOKEN_SERVICE_IOS_DELEGA
TE_H_ | 128 #endif // COMPONENTS_SIGNIN_IOS_BROWSER_PROFILE_OAUTH2_TOKEN_SERVICE_IOS_DELEGA
TE_H_ |
OLD | NEW |