OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_OAUTH2_TOKEN_SERVICE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_OAUTH2_TOKEN_SERVICE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_OAUTH2_TOKEN_SERVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/macros.h" |
12 #include "chrome/browser/chromeos/settings/device_oauth2_token_service_delegate.
h" | 13 #include "chrome/browser/chromeos/settings/device_oauth2_token_service_delegate.
h" |
13 #include "google_apis/gaia/oauth2_token_service.h" | 14 #include "google_apis/gaia/oauth2_token_service.h" |
14 #include "net/url_request/url_request_context_getter.h" | 15 #include "net/url_request/url_request_context_getter.h" |
15 | 16 |
16 namespace net { | 17 namespace net { |
17 class URLRequestContextGetter; | 18 class URLRequestContextGetter; |
18 } | 19 } |
19 | 20 |
20 class PrefRegistrySimple; | 21 class PrefRegistrySimple; |
21 | 22 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 std::vector<PendingRequest*> pending_requests_; | 83 std::vector<PendingRequest*> pending_requests_; |
83 | 84 |
84 DeviceOAuth2TokenServiceDelegate* delegate_; | 85 DeviceOAuth2TokenServiceDelegate* delegate_; |
85 | 86 |
86 DISALLOW_COPY_AND_ASSIGN(DeviceOAuth2TokenService); | 87 DISALLOW_COPY_AND_ASSIGN(DeviceOAuth2TokenService); |
87 }; | 88 }; |
88 | 89 |
89 } // namespace chromeos | 90 } // namespace chromeos |
90 | 91 |
91 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_OAUTH2_TOKEN_SERVICE_H_ | 92 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_OAUTH2_TOKEN_SERVICE_H_ |
OLD | NEW |