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_BROWSER_NET_GAIA_GAIA_OAUTH_FETCHER_H_ | 5 #ifndef CHROME_BROWSER_NET_GAIA_GAIA_OAUTH_FETCHER_H_ |
6 #define CHROME_BROWSER_NET_GAIA_GAIA_OAUTH_FETCHER_H_ | 6 #define CHROME_BROWSER_NET_GAIA_GAIA_OAUTH_FETCHER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "chrome/common/net/gaia/google_service_auth_error.h" | 12 #include "google_apis/gaia/google_service_auth_error.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 GaiaOAuthConsumer; | 16 class GaiaOAuthConsumer; |
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 typedef std::vector<std::string> ResponseCookies; | 22 typedef std::vector<std::string> ResponseCookies; |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 std::string request_body_; | 223 std::string request_body_; |
224 std::string request_headers_; | 224 std::string request_headers_; |
225 std::string service_scope_; | 225 std::string service_scope_; |
226 bool fetch_pending_; | 226 bool fetch_pending_; |
227 RequestType auto_fetch_limit_; | 227 RequestType auto_fetch_limit_; |
228 | 228 |
229 DISALLOW_COPY_AND_ASSIGN(GaiaOAuthFetcher); | 229 DISALLOW_COPY_AND_ASSIGN(GaiaOAuthFetcher); |
230 }; | 230 }; |
231 | 231 |
232 #endif // CHROME_BROWSER_NET_GAIA_GAIA_OAUTH_FETCHER_H_ | 232 #endif // CHROME_BROWSER_NET_GAIA_GAIA_OAUTH_FETCHER_H_ |
OLD | NEW |