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/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "google_apis/gaia/oauth2_api_call_flow.h" | 13 #include "google_apis/gaia/oauth2_api_call_flow.h" |
14 | 14 |
15 class GoogleServiceAuthError; | 15 class GoogleServiceAuthError; |
16 class OAuth2MintTokenFlowTest; | 16 class OAuth2MintTokenFlowTest; |
17 | 17 |
18 namespace base { | 18 namespace base { |
19 class DictionaryValue; | 19 class DictionaryValue; |
20 } | 20 } |
21 | 21 |
22 namespace content { | 22 namespace content { |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 int* time_to_live); | 138 int* time_to_live); |
139 | 139 |
140 Delegate* delegate_; | 140 Delegate* delegate_; |
141 Parameters parameters_; | 141 Parameters parameters_; |
142 base::WeakPtrFactory<OAuth2MintTokenFlow> weak_factory_; | 142 base::WeakPtrFactory<OAuth2MintTokenFlow> weak_factory_; |
143 | 143 |
144 DISALLOW_COPY_AND_ASSIGN(OAuth2MintTokenFlow); | 144 DISALLOW_COPY_AND_ASSIGN(OAuth2MintTokenFlow); |
145 }; | 145 }; |
146 | 146 |
147 #endif // GOOGLE_APIS_GAIA_OAUTH2_MINT_TOKEN_FLOW_H_ | 147 #endif // GOOGLE_APIS_GAIA_OAUTH2_MINT_TOKEN_FLOW_H_ |
OLD | NEW |