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 GOOGLE_APIS_GAIA_OAUTH2_TOKEN_SERVICE_DELEGATE_H_ | 5 #ifndef GOOGLE_APIS_GAIA_OAUTH2_TOKEN_SERVICE_DELEGATE_H_ |
6 #define GOOGLE_APIS_GAIA_OAUTH2_TOKEN_SERVICE_DELEGATE_H_ | 6 #define GOOGLE_APIS_GAIA_OAUTH2_TOKEN_SERVICE_DELEGATE_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/observer_list.h" | 9 #include "base/observer_list.h" |
9 #include "google_apis/gaia/gaia_auth_util.h" | 10 #include "google_apis/gaia/gaia_auth_util.h" |
10 #include "google_apis/gaia/oauth2_token_service.h" | 11 #include "google_apis/gaia/oauth2_token_service.h" |
11 #include "net/base/backoff_entry.h" | 12 #include "net/base/backoff_entry.h" |
12 | 13 |
13 namespace net { | 14 namespace net { |
14 class URLRequestContextGetter; | 15 class URLRequestContextGetter; |
15 } | 16 } |
16 | 17 |
17 class SigninClient; | 18 class SigninClient; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 void StartBatchChanges(); | 91 void StartBatchChanges(); |
91 void EndBatchChanges(); | 92 void EndBatchChanges(); |
92 | 93 |
93 // The depth of batch changes. | 94 // The depth of batch changes. |
94 int batch_change_depth_; | 95 int batch_change_depth_; |
95 | 96 |
96 DISALLOW_COPY_AND_ASSIGN(OAuth2TokenServiceDelegate); | 97 DISALLOW_COPY_AND_ASSIGN(OAuth2TokenServiceDelegate); |
97 }; | 98 }; |
98 | 99 |
99 #endif // GOOGLE_APIS_GAIA_OAUTH2_TOKEN_SERVICE_DELEGATE_H_ | 100 #endif // GOOGLE_APIS_GAIA_OAUTH2_TOKEN_SERVICE_DELEGATE_H_ |
OLD | NEW |