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_SETTINGS_DEVICE_OAUTH2_TOKEN_SERVICE_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_OAUTH2_TOKEN_SERVICE_DELEGATE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_OAUTH2_TOKEN_SERVICE_DELEGATE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_OAUTH2_TOKEN_SERVICE_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/gtest_prod_util.h" | |
14 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
16 #include "base/stl_util.h" | 15 #include "base/stl_util.h" |
17 #include "chrome/browser/chromeos/settings/cros_settings.h" | 16 #include "chrome/browser/chromeos/settings/cros_settings.h" |
18 #include "google_apis/gaia/gaia_oauth_client.h" | 17 #include "google_apis/gaia/gaia_oauth_client.h" |
19 #include "google_apis/gaia/oauth2_token_service_delegate.h" | 18 #include "google_apis/gaia/oauth2_token_service_delegate.h" |
20 #include "net/url_request/url_request_context_getter.h" | 19 #include "net/url_request/url_request_context_getter.h" |
21 | 20 |
22 namespace gaia { | 21 namespace gaia { |
23 class GaiaOAuthClient; | 22 class GaiaOAuthClient; |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 service_account_identity_subscription_; | 151 service_account_identity_subscription_; |
153 | 152 |
154 base::WeakPtrFactory<DeviceOAuth2TokenServiceDelegate> weak_ptr_factory_; | 153 base::WeakPtrFactory<DeviceOAuth2TokenServiceDelegate> weak_ptr_factory_; |
155 | 154 |
156 DISALLOW_COPY_AND_ASSIGN(DeviceOAuth2TokenServiceDelegate); | 155 DISALLOW_COPY_AND_ASSIGN(DeviceOAuth2TokenServiceDelegate); |
157 }; | 156 }; |
158 | 157 |
159 } // namespace chromeos | 158 } // namespace chromeos |
160 | 159 |
161 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_OAUTH2_TOKEN_SERVICE_DELEGATE
_H_ | 160 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_OAUTH2_TOKEN_SERVICE_DELEGATE
_H_ |
OLD | NEW |