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_REVOCATION_FETCHER_H_ | 5 #ifndef GOOGLE_APIS_GAIA_OAUTH2_REVOCATION_FETCHER_H_ |
6 #define CHROME_COMMON_NET_GAIA_OAUTH2_REVOCATION_FETCHER_H_ | 6 #define GOOGLE_APIS_GAIA_OAUTH2_REVOCATION_FETCHER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "chrome/common/net/gaia/oauth2_revocation_consumer.h" | 12 #include "google_apis/gaia/oauth2_revocation_consumer.h" |
13 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
14 #include "net/url_request/url_fetcher_delegate.h" | 14 #include "net/url_request/url_fetcher_delegate.h" |
15 | 15 |
16 class OAuth2RevocationFetcherTest; | 16 class OAuth2RevocationFetcherTest; |
17 | 17 |
18 namespace net { | 18 namespace net { |
19 class URLFetcher; | 19 class URLFetcher; |
20 class URLRequestContextGetter; | 20 class URLRequestContextGetter; |
21 class URLRequestStatus; | 21 class URLRequestStatus; |
22 } | 22 } |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 scoped_ptr<net::URLFetcher> fetcher_; | 84 scoped_ptr<net::URLFetcher> fetcher_; |
85 std::string access_token_; | 85 std::string access_token_; |
86 std::string client_id_; | 86 std::string client_id_; |
87 std::string origin_; | 87 std::string origin_; |
88 | 88 |
89 friend class OAuth2RevocationFetcherTest; | 89 friend class OAuth2RevocationFetcherTest; |
90 | 90 |
91 DISALLOW_COPY_AND_ASSIGN(OAuth2RevocationFetcher); | 91 DISALLOW_COPY_AND_ASSIGN(OAuth2RevocationFetcher); |
92 }; | 92 }; |
93 | 93 |
94 #endif // CHROME_COMMON_NET_GAIA_OAUTH2_REVOCATION_FETCHER_H_ | 94 #endif // GOOGLE_APIS_GAIA_OAUTH2_REVOCATION_FETCHER_H_ |
OLD | NEW |