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 CHROME_COMMON_NET_GAIA_OAUTH2_MINT_TOKEN_FLOW_H_ | 5 #ifndef GOOGLE_APIS_GAIA_OAUTH2_MINT_TOKEN_FLOW_H_ |
6 #define CHROME_COMMON_NET_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/string16.h" |
13 #include "chrome/common/net/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 { |
23 class URLFetcher; | 23 class URLFetcher; |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 Delegate* delegate_; | 143 Delegate* delegate_; |
144 Parameters parameters_; | 144 Parameters parameters_; |
145 // If true, |this| owns itself and will delete itself after reporting | 145 // If true, |this| owns itself and will delete itself after reporting |
146 // success or failure. | 146 // success or failure. |
147 bool delete_when_done_; | 147 bool delete_when_done_; |
148 base::WeakPtrFactory<OAuth2MintTokenFlow> weak_factory_; | 148 base::WeakPtrFactory<OAuth2MintTokenFlow> weak_factory_; |
149 | 149 |
150 DISALLOW_COPY_AND_ASSIGN(OAuth2MintTokenFlow); | 150 DISALLOW_COPY_AND_ASSIGN(OAuth2MintTokenFlow); |
151 }; | 151 }; |
152 | 152 |
153 #endif // CHROME_COMMON_NET_GAIA_OAUTH2_MINT_TOKEN_FLOW_H_ | 153 #endif // GOOGLE_APIS_GAIA_OAUTH2_MINT_TOKEN_FLOW_H_ |
OLD | NEW |