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/macros.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
15 #include "google_apis/gaia/oauth2_api_call_flow.h" | 15 #include "google_apis/gaia/oauth2_api_call_flow.h" |
16 #include "url/gurl.h" | 16 #include "url/gurl.h" |
17 | 17 |
18 class GoogleServiceAuthError; | 18 class GoogleServiceAuthError; |
19 class OAuth2MintTokenFlowTest; | 19 class OAuth2MintTokenFlowTest; |
20 | 20 |
21 namespace base { | 21 namespace base { |
22 class DictionaryValue; | 22 class DictionaryValue; |
23 } | 23 } |
24 | 24 |
25 namespace content { | 25 namespace content { |
26 class URLFetcher; | 26 class URLFetcher; |
27 } | 27 } |
28 | 28 |
29 namespace net { | |
30 class URLRequestContextGetter; | |
31 } | |
32 | |
33 // IssueAdvice: messages to show to the user to get a user's approval. | 29 // IssueAdvice: messages to show to the user to get a user's approval. |
34 // The structure is as follows: | 30 // The structure is as follows: |
35 // * Description 1 | 31 // * Description 1 |
36 // - Detail 1.1 | 32 // - Detail 1.1 |
37 // - Details 1.2 | 33 // - Details 1.2 |
38 // * Description 2 | 34 // * Description 2 |
39 // - Detail 2.1 | 35 // - Detail 2.1 |
40 // - Detail 2.2 | 36 // - Detail 2.2 |
41 // - Detail 2.3 | 37 // - Detail 2.3 |
42 // * Description 3 | 38 // * Description 3 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 int* time_to_live); | 129 int* time_to_live); |
134 | 130 |
135 Delegate* delegate_; | 131 Delegate* delegate_; |
136 Parameters parameters_; | 132 Parameters parameters_; |
137 base::WeakPtrFactory<OAuth2MintTokenFlow> weak_factory_; | 133 base::WeakPtrFactory<OAuth2MintTokenFlow> weak_factory_; |
138 | 134 |
139 DISALLOW_COPY_AND_ASSIGN(OAuth2MintTokenFlow); | 135 DISALLOW_COPY_AND_ASSIGN(OAuth2MintTokenFlow); |
140 }; | 136 }; |
141 | 137 |
142 #endif // GOOGLE_APIS_GAIA_OAUTH2_MINT_TOKEN_FLOW_H_ | 138 #endif // GOOGLE_APIS_GAIA_OAUTH2_MINT_TOKEN_FLOW_H_ |
OLD | NEW |