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 CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_TOKEN_HANDLE_FETCHER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_TOKEN_HANDLE_FETCHER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_TOKEN_HANDLE_FETCHER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_TOKEN_HANDLE_FETCHER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "base/callback.h" | 10 #include "base/callback.h" |
12 #include "base/containers/scoped_ptr_hash_map.h" | 11 #include "base/containers/scoped_ptr_hash_map.h" |
| 12 #include "base/macros.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "components/keyed_service/core/keyed_service_shutdown_notifier.h" | 15 #include "components/keyed_service/core/keyed_service_shutdown_notifier.h" |
16 #include "components/signin/core/account_id/account_id.h" | 16 #include "components/signin/core/account_id/account_id.h" |
17 #include "google_apis/gaia/gaia_oauth_client.h" | 17 #include "google_apis/gaia/gaia_oauth_client.h" |
18 #include "google_apis/gaia/oauth2_token_service.h" | 18 #include "google_apis/gaia/oauth2_token_service.h" |
19 | 19 |
20 class TokenHandleUtil; | 20 class TokenHandleUtil; |
21 class Profile; | 21 class Profile; |
22 | 22 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 TokenFetchingCallback callback_; | 77 TokenFetchingCallback callback_; |
78 scoped_ptr<gaia::GaiaOAuthClient> gaia_client_; | 78 scoped_ptr<gaia::GaiaOAuthClient> gaia_client_; |
79 scoped_ptr<OAuth2TokenService::Request> oauth2_access_token_request_; | 79 scoped_ptr<OAuth2TokenService::Request> oauth2_access_token_request_; |
80 scoped_ptr<KeyedServiceShutdownNotifier::Subscription> | 80 scoped_ptr<KeyedServiceShutdownNotifier::Subscription> |
81 profile_shutdown_notification_; | 81 profile_shutdown_notification_; |
82 | 82 |
83 DISALLOW_COPY_AND_ASSIGN(TokenHandleFetcher); | 83 DISALLOW_COPY_AND_ASSIGN(TokenHandleFetcher); |
84 }; | 84 }; |
85 | 85 |
86 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_TOKEN_HANDLE_FETCHER_H_ | 86 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_TOKEN_HANDLE_FETCHER_H_ |
OLD | NEW |