Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: google_apis/gaia/oauth2_mint_token_flow.h

Issue 182573003: Extract OAuth2AccessTokenFetcher interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing file. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
12 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
13 #include "google_apis/gaia/oauth2_api_call_flow.h" 14 #include "google_apis/gaia/oauth2_api_call_flow.h"
15 #include "url/gurl.h"
14 16
15 class GoogleServiceAuthError; 17 class GoogleServiceAuthError;
16 class OAuth2MintTokenFlowTest; 18 class OAuth2MintTokenFlowTest;
17 19
18 namespace base { 20 namespace base {
19 class DictionaryValue; 21 class DictionaryValue;
20 } 22 }
21 23
22 namespace content { 24 namespace content {
23 class URLFetcher; 25 class URLFetcher;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 int* time_to_live); 140 int* time_to_live);
139 141
140 Delegate* delegate_; 142 Delegate* delegate_;
141 Parameters parameters_; 143 Parameters parameters_;
142 base::WeakPtrFactory<OAuth2MintTokenFlow> weak_factory_; 144 base::WeakPtrFactory<OAuth2MintTokenFlow> weak_factory_;
143 145
144 DISALLOW_COPY_AND_ASSIGN(OAuth2MintTokenFlow); 146 DISALLOW_COPY_AND_ASSIGN(OAuth2MintTokenFlow);
145 }; 147 };
146 148
147 #endif // GOOGLE_APIS_GAIA_OAUTH2_MINT_TOKEN_FLOW_H_ 149 #endif // GOOGLE_APIS_GAIA_OAUTH2_MINT_TOKEN_FLOW_H_
OLDNEW
« no previous file with comments | « google_apis/gaia/oauth2_api_call_flow_unittest.cc ('k') | google_apis/gaia/oauth2_token_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698