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_MINT_TOKEN_FETCHER_H_ | 5 #ifndef GOOGLE_APIS_GAIA_OAUTH2_MINT_TOKEN_FETCHER_H_ |
6 #define CHROME_COMMON_NET_GAIA_OAUTH2_MINT_TOKEN_FETCHER_H_ | 6 #define GOOGLE_APIS_GAIA_OAUTH2_MINT_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_mint_token_consumer.h" | 13 #include "google_apis/gaia/oauth2_mint_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 OAuth2MintTokenFetcherTest; | 17 class OAuth2MintTokenFetcherTest; |
18 | 18 |
19 namespace net { | 19 namespace net { |
20 class URLFetcher; | 20 class URLFetcher; |
21 class URLRequestContextGetter; | 21 class URLRequestContextGetter; |
22 class URLRequestStatus; | 22 class URLRequestStatus; |
23 } | 23 } |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 std::vector<std::string> scopes_; | 94 std::vector<std::string> scopes_; |
95 std::string origin_; | 95 std::string origin_; |
96 | 96 |
97 friend class OAuth2MintTokenFetcherTest; | 97 friend class OAuth2MintTokenFetcherTest; |
98 FRIEND_TEST_ALL_PREFIXES(OAuth2MintTokenFetcherTest, | 98 FRIEND_TEST_ALL_PREFIXES(OAuth2MintTokenFetcherTest, |
99 ParseMintTokenResponse); | 99 ParseMintTokenResponse); |
100 | 100 |
101 DISALLOW_COPY_AND_ASSIGN(OAuth2MintTokenFetcher); | 101 DISALLOW_COPY_AND_ASSIGN(OAuth2MintTokenFetcher); |
102 }; | 102 }; |
103 | 103 |
104 #endif // CHROME_COMMON_NET_GAIA_OAUTH2_MINT_TOKEN_FETCHER_H_ | 104 #endif // GOOGLE_APIS_GAIA_OAUTH2_MINT_TOKEN_FETCHER_H_ |
OLD | NEW |