OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_MINT_TOKEN_FLOW_H_ | 5 #ifndef GOOGLE_APIS_GAIA_OAUTH2_MINT_TOKEN_FLOW_H_ |
6 #define GOOGLE_APIS_GAIA_OAUTH2_MINT_TOKEN_FLOW_H_ | 6 #define GOOGLE_APIS_GAIA_OAUTH2_MINT_TOKEN_FLOW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
13 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
14 #include "google_apis/gaia/oauth2_api_call_flow.h" | 15 #include "google_apis/gaia/oauth2_api_call_flow.h" |
15 #include "url/gurl.h" | 16 #include "url/gurl.h" |
16 | 17 |
17 class GoogleServiceAuthError; | 18 class GoogleServiceAuthError; |
18 class OAuth2MintTokenFlowTest; | 19 class OAuth2MintTokenFlowTest; |
19 | 20 |
20 namespace base { | 21 namespace base { |
21 class DictionaryValue; | 22 class DictionaryValue; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 int* time_to_live); | 131 int* time_to_live); |
131 | 132 |
132 Delegate* delegate_; | 133 Delegate* delegate_; |
133 Parameters parameters_; | 134 Parameters parameters_; |
134 base::WeakPtrFactory<OAuth2MintTokenFlow> weak_factory_; | 135 base::WeakPtrFactory<OAuth2MintTokenFlow> weak_factory_; |
135 | 136 |
136 DISALLOW_COPY_AND_ASSIGN(OAuth2MintTokenFlow); | 137 DISALLOW_COPY_AND_ASSIGN(OAuth2MintTokenFlow); |
137 }; | 138 }; |
138 | 139 |
139 #endif // GOOGLE_APIS_GAIA_OAUTH2_MINT_TOKEN_FLOW_H_ | 140 #endif // GOOGLE_APIS_GAIA_OAUTH2_MINT_TOKEN_FLOW_H_ |
OLD | NEW |