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

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

Issue 10392192: Remove content::URLFetcherDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More cleanup Created 8 years, 7 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/net/gaia/gaia_oauth_fetcher.h ('k') | chrome/browser/net/sdch_dictionary_fetcher.h » ('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.cc
diff --git a/chrome/browser/net/gaia/gaia_oauth_fetcher.cc b/chrome/browser/net/gaia/gaia_oauth_fetcher.cc
index 580bb6d0ca898e15c49952b666f9878f38311eca..31d55fcf9110bb8a4db901c200c59a89a79a81f9 100644
--- a/chrome/browser/net/gaia/gaia_oauth_fetcher.cc
+++ b/chrome/browser/net/gaia/gaia_oauth_fetcher.cc
@@ -60,15 +60,15 @@ void GaiaOAuthFetcher::CancelRequest() {
}
// static
-content::URLFetcher* GaiaOAuthFetcher::CreateGaiaFetcher(
+net::URLFetcher* GaiaOAuthFetcher::CreateGaiaFetcher(
net::URLRequestContextGetter* getter,
const GURL& gaia_gurl,
const std::string& body,
const std::string& headers,
bool send_cookies,
- content::URLFetcherDelegate* delegate) {
+ net::URLFetcherDelegate* delegate) {
bool empty_body = body.empty();
- content::URLFetcher* result = content::URLFetcher::Create(
+ net::URLFetcher* result = content::URLFetcher::Create(
0, gaia_gurl,
empty_body ? content::URLFetcher::GET : content::URLFetcher::POST,
delegate);
@@ -683,7 +683,7 @@ void GaiaOAuthFetcher::OnUserInfoFetched(
void GaiaOAuthFetcher::OnURLFetchComplete(const net::URLFetcher* source) {
// Keep |fetcher_| around to avoid invalidating its |status| (accessed below).
- scoped_ptr<content::URLFetcher> current_fetcher(fetcher_.release());
+ scoped_ptr<net::URLFetcher> current_fetcher(fetcher_.release());
fetch_pending_ = false;
std::string data;
source->GetResponseAsString(&data);
« no previous file with comments | « chrome/browser/net/gaia/gaia_oauth_fetcher.h ('k') | chrome/browser/net/sdch_dictionary_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698