OLD | NEW |
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 <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/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "google_apis/gaia/oauth2_access_token_consumer.h" | 14 #include "google_apis/gaia/oauth2_access_token_consumer.h" |
14 #include "google_apis/gaia/oauth2_access_token_fetcher.h" | 15 #include "google_apis/gaia/oauth2_access_token_fetcher.h" |
15 #include "net/url_request/url_fetcher_delegate.h" | 16 #include "net/url_request/url_fetcher_delegate.h" |
16 #include "url/gurl.h" | 17 #include "url/gurl.h" |
17 | 18 |
18 class OAuth2AccessTokenFetcherImplTest; | 19 class OAuth2AccessTokenFetcherImplTest; |
19 | 20 |
20 namespace base { | 21 namespace base { |
21 class Time; | 22 class Time; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 friend class OAuth2AccessTokenFetcherImplTest; | 110 friend class OAuth2AccessTokenFetcherImplTest; |
110 FRIEND_TEST_ALL_PREFIXES(OAuth2AccessTokenFetcherImplTest, | 111 FRIEND_TEST_ALL_PREFIXES(OAuth2AccessTokenFetcherImplTest, |
111 ParseGetAccessTokenResponse); | 112 ParseGetAccessTokenResponse); |
112 FRIEND_TEST_ALL_PREFIXES(OAuth2AccessTokenFetcherImplTest, | 113 FRIEND_TEST_ALL_PREFIXES(OAuth2AccessTokenFetcherImplTest, |
113 MakeGetAccessTokenBody); | 114 MakeGetAccessTokenBody); |
114 | 115 |
115 DISALLOW_COPY_AND_ASSIGN(OAuth2AccessTokenFetcherImpl); | 116 DISALLOW_COPY_AND_ASSIGN(OAuth2AccessTokenFetcherImpl); |
116 }; | 117 }; |
117 | 118 |
118 #endif // GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_IMPL_H_ | 119 #endif // GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_IMPL_H_ |
OLD | NEW |