| 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 | 4 |
| 5 #ifndef IOS_CHROME_BROWSER_SIGNIN_SIGNIN_CLIENT_IMPL_H_ | 5 #ifndef IOS_CHROME_BROWSER_SIGNIN_SIGNIN_CLIENT_IMPL_H_ |
| 6 #define IOS_CHROME_BROWSER_SIGNIN_SIGNIN_CLIENT_IMPL_H_ | 6 #define IOS_CHROME_BROWSER_SIGNIN_SIGNIN_CLIENT_IMPL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "components/signin/core/browser/signin_client.h" | 12 #include "components/signin/core/browser/signin_client.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/gaia_oauth_client.h" | 14 #include "google_apis/gaia/gaia_oauth_client.h" |
| 15 #include "google_apis/gaia/oauth2_token_service.h" | 15 #include "google_apis/gaia/oauth2_token_service.h" |
| 16 #include "net/base/network_change_notifier.h" | 16 #include "net/base/network_change_notifier.h" |
| 17 | 17 |
| 18 namespace content_settings { | |
| 19 class CookieSettings; | |
| 20 } | |
| 21 | |
| 22 namespace ios { | 18 namespace ios { |
| 23 class ChromeBrowserState; | 19 class ChromeBrowserState; |
| 24 } | 20 } |
| 25 | 21 |
| 26 class SigninClientImpl | 22 class SigninClientImpl |
| 27 : public SigninClient, | 23 : public SigninClient, |
| 28 public net::NetworkChangeNotifier::NetworkChangeObserver, | 24 public net::NetworkChangeNotifier::NetworkChangeObserver, |
| 29 public SigninErrorController::Observer, | 25 public SigninErrorController::Observer, |
| 30 public gaia::GaiaOAuthClient::Delegate, | 26 public gaia::GaiaOAuthClient::Delegate, |
| 31 public OAuth2TokenService::Consumer { | 27 public OAuth2TokenService::Consumer { |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 SigninErrorController* signin_error_controller_; | 101 SigninErrorController* signin_error_controller_; |
| 106 std::list<base::Closure> delayed_callbacks_; | 102 std::list<base::Closure> delayed_callbacks_; |
| 107 | 103 |
| 108 std::unique_ptr<gaia::GaiaOAuthClient> oauth_client_; | 104 std::unique_ptr<gaia::GaiaOAuthClient> oauth_client_; |
| 109 std::unique_ptr<OAuth2TokenService::Request> oauth_request_; | 105 std::unique_ptr<OAuth2TokenService::Request> oauth_request_; |
| 110 | 106 |
| 111 DISALLOW_COPY_AND_ASSIGN(SigninClientImpl); | 107 DISALLOW_COPY_AND_ASSIGN(SigninClientImpl); |
| 112 }; | 108 }; |
| 113 | 109 |
| 114 #endif // IOS_CHROME_BROWSER_SIGNIN_SIGNIN_CLIENT_IMPL_H_ | 110 #endif // IOS_CHROME_BROWSER_SIGNIN_SIGNIN_CLIENT_IMPL_H_ |
| OLD | NEW |