| 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 COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_CLIENT_H_ | 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_CLIENT_H_ |
| 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_CLIENT_H_ | 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/callback_list.h" | 9 #include "base/callback_list.h" |
| 10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
| 11 #include "components/keyed_service/core/keyed_service.h" | 11 #include "components/keyed_service/core/keyed_service.h" |
| 12 #include "components/signin/core/browser/account_info.h" | 12 #include "components/signin/core/browser/account_info.h" |
| 13 #include "components/signin/core/browser/webdata/token_web_data.h" | 13 #include "components/signin/core/browser/webdata/token_web_data.h" |
| 14 #include "google_apis/gaia/gaia_auth_fetcher.h" | 14 #include "google_apis/gaia/gaia_auth_fetcher.h" |
| 15 #include "net/cookies/cookie_store.h" | 15 #include "net/cookies/cookie_store.h" |
| 16 #include "url/gurl.h" | 16 #include "url/gurl.h" |
| 17 | 17 |
| 18 class PrefService; | 18 class PrefService; |
| 19 class SigninManagerBase; | |
| 20 class TokenWebData; | 19 class TokenWebData; |
| 21 | 20 |
| 22 namespace content_settings { | 21 namespace content_settings { |
| 23 class Observer; | 22 class Observer; |
| 24 } | 23 } |
| 25 | 24 |
| 26 namespace net { | 25 namespace net { |
| 27 class URLRequestContextGetter; | 26 class URLRequestContextGetter; |
| 28 } | 27 } |
| 29 | 28 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 | 133 |
| 135 private: | 134 private: |
| 136 // Perform Chrome-specific sign out. This happens when user signs out or about | 135 // Perform Chrome-specific sign out. This happens when user signs out or about |
| 137 // to sign in. | 136 // to sign in. |
| 138 // This method should not be called from the outside of SigninClient. External | 137 // This method should not be called from the outside of SigninClient. External |
| 139 // callers must use SignOut() instead. | 138 // callers must use SignOut() instead. |
| 140 virtual void OnSignedOut() = 0; | 139 virtual void OnSignedOut() = 0; |
| 141 }; | 140 }; |
| 142 | 141 |
| 143 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_CLIENT_H_ | 142 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_CLIENT_H_ |
| OLD | NEW |