| 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_ACCESS_TOKEN_FETCHER_H_ | 5 #ifndef GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_H_ |
| 6 #define CHROME_COMMON_NET_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_H_ | 6 #define GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_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/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "chrome/common/net/gaia/oauth2_access_token_consumer.h" | 13 #include "google_apis/gaia/oauth2_access_token_consumer.h" |
| 14 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
| 15 #include "net/url_request/url_fetcher_delegate.h" | 15 #include "net/url_request/url_fetcher_delegate.h" |
| 16 | 16 |
| 17 class OAuth2AccessTokenFetcherTest; | 17 class OAuth2AccessTokenFetcherTest; |
| 18 | 18 |
| 19 namespace base { | 19 namespace base { |
| 20 class Time; | 20 class Time; |
| 21 } | 21 } |
| 22 | 22 |
| 23 namespace net { | 23 namespace net { |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 | 108 |
| 109 friend class OAuth2AccessTokenFetcherTest; | 109 friend class OAuth2AccessTokenFetcherTest; |
| 110 FRIEND_TEST_ALL_PREFIXES(OAuth2AccessTokenFetcherTest, | 110 FRIEND_TEST_ALL_PREFIXES(OAuth2AccessTokenFetcherTest, |
| 111 ParseGetAccessTokenResponse); | 111 ParseGetAccessTokenResponse); |
| 112 FRIEND_TEST_ALL_PREFIXES(OAuth2AccessTokenFetcherTest, | 112 FRIEND_TEST_ALL_PREFIXES(OAuth2AccessTokenFetcherTest, |
| 113 MakeGetAccessTokenBody); | 113 MakeGetAccessTokenBody); |
| 114 | 114 |
| 115 DISALLOW_COPY_AND_ASSIGN(OAuth2AccessTokenFetcher); | 115 DISALLOW_COPY_AND_ASSIGN(OAuth2AccessTokenFetcher); |
| 116 }; | 116 }; |
| 117 | 117 |
| 118 #endif // CHROME_COMMON_NET_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_H_ | 118 #endif // GOOGLE_APIS_GAIA_OAUTH2_ACCESS_TOKEN_FETCHER_H_ |
| OLD | NEW |