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

Unified Diff: chrome/common/net/gaia/gaia_auth_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/web_resource/web_resource_service.cc ('k') | chrome/common/net/gaia/gaia_auth_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/gaia/gaia_auth_fetcher.h
===================================================================
--- chrome/common/net/gaia/gaia_auth_fetcher.h (revision 107061)
+++ chrome/common/net/gaia/gaia_auth_fetcher.h (working copy)
@@ -82,7 +82,7 @@
void StartMergeSession(const std::string& auth_token);
// Implementation of content::URLFetcherDelegate
- virtual void OnURLFetchComplete(const URLFetcher* source);
+ virtual void OnURLFetchComplete(const content::URLFetcher* source);
// StartClientLogin been called && results not back yet?
bool HasPendingFetch();
@@ -197,11 +197,12 @@
const std::string& source);
// Create a fetcher useable for making any Gaia request.
- static URLFetcher* CreateGaiaFetcher(net::URLRequestContextGetter* getter,
- const std::string& body,
- const GURL& gaia_gurl,
- bool send_cookies,
- content::URLFetcherDelegate* delegate);
+ static content::URLFetcher* CreateGaiaFetcher(
+ net::URLRequestContextGetter* getter,
+ const std::string& body,
+ const GURL& gaia_gurl,
+ bool send_cookies,
+ content::URLFetcherDelegate* delegate);
// From a URLFetcher result, generate an appropriate error.
// From the API documentation, both IssueAuthToken and ClientLogin have
@@ -221,7 +222,7 @@
const GURL merge_session_gurl_;
// While a fetch is going on:
- scoped_ptr<URLFetcher> fetcher_;
+ scoped_ptr<content::URLFetcher> fetcher_;
std::string request_body_;
std::string requested_service_; // Currently tracked for IssueAuthToken only
std::string requested_info_key_; // Currently tracked for GetUserInfo only
« no previous file with comments | « chrome/browser/web_resource/web_resource_service.cc ('k') | chrome/common/net/gaia/gaia_auth_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698