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

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

Issue 2554863002: Cleanup remaining class/struct fwd declarations (Closed)
Patch Set: Style fixes Created 4 years 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
« no previous file with comments | « gin/function_template.h ('k') | google_apis/gaia/oauth2_api_call_flow.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_ACCESS_TOKEN_FETCHER_IMPL_H_ 5 #ifndef GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_IMPL_H_
6 #define GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_IMPL_H_ 6 #define GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "google_apis/gaia/oauth2_access_token_consumer.h" 14 #include "google_apis/gaia/oauth2_access_token_consumer.h"
15 #include "google_apis/gaia/oauth2_access_token_fetcher.h" 15 #include "google_apis/gaia/oauth2_access_token_fetcher.h"
16 #include "net/url_request/url_fetcher_delegate.h" 16 #include "net/url_request/url_fetcher_delegate.h"
17 #include "url/gurl.h" 17 #include "url/gurl.h"
18 18
19 class OAuth2AccessTokenFetcherImplTest; 19 class OAuth2AccessTokenFetcherImplTest;
20 20
21 namespace base { 21 namespace base {
22 class Time; 22 class Time;
23 } 23 }
24 24
25 namespace net { 25 namespace net {
26 class URLFetcher; 26 class URLFetcher;
27 class URLRequestContextGetter; 27 class URLRequestContextGetter;
28 class URLRequestStatus;
29 } 28 }
30 29
31 // Abstracts the details to get OAuth2 access token token from 30 // Abstracts the details to get OAuth2 access token token from
32 // OAuth2 refresh token. 31 // OAuth2 refresh token.
33 // See "Using the Refresh Token" section in: 32 // See "Using the Refresh Token" section in:
34 // http://code.google.com/apis/accounts/docs/OAuth2WebServer.html 33 // http://code.google.com/apis/accounts/docs/OAuth2WebServer.html
35 // 34 //
36 // This class should be used on a single thread, but it can be whichever thread 35 // This class should be used on a single thread, but it can be whichever thread
37 // that you like. 36 // that you like.
38 // Also, do not reuse the same instance. Once Start() is called, the instance 37 // Also, do not reuse the same instance. Once Start() is called, the instance
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 friend class OAuth2AccessTokenFetcherImplTest; 109 friend class OAuth2AccessTokenFetcherImplTest;
111 FRIEND_TEST_ALL_PREFIXES(OAuth2AccessTokenFetcherImplTest, 110 FRIEND_TEST_ALL_PREFIXES(OAuth2AccessTokenFetcherImplTest,
112 ParseGetAccessTokenResponse); 111 ParseGetAccessTokenResponse);
113 FRIEND_TEST_ALL_PREFIXES(OAuth2AccessTokenFetcherImplTest, 112 FRIEND_TEST_ALL_PREFIXES(OAuth2AccessTokenFetcherImplTest,
114 MakeGetAccessTokenBody); 113 MakeGetAccessTokenBody);
115 114
116 DISALLOW_COPY_AND_ASSIGN(OAuth2AccessTokenFetcherImpl); 115 DISALLOW_COPY_AND_ASSIGN(OAuth2AccessTokenFetcherImpl);
117 }; 116 };
118 117
119 #endif // GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_IMPL_H_ 118 #endif // GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_IMPL_H_
OLDNEW
« no previous file with comments | « gin/function_template.h ('k') | google_apis/gaia/oauth2_api_call_flow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698