OLD | NEW |
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 CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_CLIENT_H_ |
6 #define CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_CLIENT_H_ | 6 #define CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_CLIENT_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
11 #include "components/signin/core/browser/signin_client.h" | 11 #include "components/signin/core/browser/signin_client.h" |
12 #include "components/signin/core/browser/signin_error_controller.h" | 12 #include "components/signin/core/browser/signin_error_controller.h" |
13 #include "google_apis/gaia/gaia_oauth_client.h" | 13 #include "google_apis/gaia/gaia_oauth_client.h" |
14 #include "google_apis/gaia/oauth2_token_service.h" | 14 #include "google_apis/gaia/oauth2_token_service.h" |
15 | 15 |
16 #if !defined(OS_CHROMEOS) | 16 #if !defined(OS_CHROMEOS) |
17 #include "net/base/network_change_notifier.h" | 17 #include "net/base/network_change_notifier.h" |
18 #endif | 18 #endif |
19 | 19 |
20 namespace content_settings { | |
21 class CookieSettings; | |
22 } | |
23 | |
24 namespace net { | 20 namespace net { |
25 class URLRequestContext; | 21 class URLRequestContext; |
26 } | 22 } |
27 | 23 |
28 class Profile; | 24 class Profile; |
29 | 25 |
30 class ChromeSigninClient | 26 class ChromeSigninClient |
31 : public SigninClient, | 27 : public SigninClient, |
32 #if !defined(OS_CHROMEOS) | 28 #if !defined(OS_CHROMEOS) |
33 public net::NetworkChangeNotifier::NetworkChangeObserver, | 29 public net::NetworkChangeNotifier::NetworkChangeObserver, |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 std::unique_ptr<OAuth2TokenService::Request> oauth_request_; | 129 std::unique_ptr<OAuth2TokenService::Request> oauth_request_; |
134 | 130 |
135 // These members are used to debug channel id binding problems in chrome. | 131 // These members are used to debug channel id binding problems in chrome. |
136 void* request_context_pointer_; | 132 void* request_context_pointer_; |
137 int number_of_request_context_pointer_changes_; | 133 int number_of_request_context_pointer_changes_; |
138 | 134 |
139 DISALLOW_COPY_AND_ASSIGN(ChromeSigninClient); | 135 DISALLOW_COPY_AND_ASSIGN(ChromeSigninClient); |
140 }; | 136 }; |
141 | 137 |
142 #endif // CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_CLIENT_H_ | 138 #endif // CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_CLIENT_H_ |
OLD | NEW |