Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Unified Diff: chrome/browser/net/gaia/gaia_oauth_fetcher.h

Issue 8375039: Create a content::UrlFetcher interface that lives in content/public/common and convert users to i... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/metrics/metrics_service.cc ('k') | chrome/browser/net/gaia/gaia_oauth_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/gaia/gaia_oauth_fetcher.h
===================================================================
--- chrome/browser/net/gaia/gaia_oauth_fetcher.h (revision 107061)
+++ chrome/browser/net/gaia/gaia_oauth_fetcher.h (working copy)
@@ -136,7 +136,7 @@
bool detail);
// Implementation of content::URLFetcherDelegate
- virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
+ virtual void OnURLFetchComplete(const content::URLFetcher* source) OVERRIDE;
// StartGetOAuthToken (or other Start* routine) been called, but results
// are not back yet.
@@ -231,12 +231,13 @@
const std::string& oauth2_service_scope);
// Create a fetcher useable for making any Gaia OAuth request.
- static URLFetcher* CreateGaiaFetcher(net::URLRequestContextGetter* getter,
- const GURL& gaia_gurl_,
- const std::string& body,
- const std::string& headers,
- bool send_cookies,
- content::URLFetcherDelegate* delegate);
+ static content::URLFetcher* CreateGaiaFetcher(
+ net::URLRequestContextGetter* getter,
+ const GURL& gaia_gurl_,
+ const std::string& body,
+ const std::string& headers,
+ bool send_cookies,
+ content::URLFetcherDelegate* delegate);
bool ShouldAutoFetch(AutoFetchLimit fetch_step);
@@ -248,7 +249,7 @@
content::NotificationRegistrar registrar_;
// While a fetch is going on:
- scoped_ptr<URLFetcher> fetcher_;
+ scoped_ptr<content::URLFetcher> fetcher_;
std::string request_body_;
std::string request_headers_;
std::string service_scope_;
« no previous file with comments | « chrome/browser/metrics/metrics_service.cc ('k') | chrome/browser/net/gaia/gaia_oauth_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698