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

Unified Diff: chrome/service/cloud_print/cloud_print_url_fetcher.cc

Issue 10554008: Move content::URLFetcher static functions to net::URLFetcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win link error Created 8 years, 6 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
Index: chrome/service/cloud_print/cloud_print_url_fetcher.cc
diff --git a/chrome/service/cloud_print/cloud_print_url_fetcher.cc b/chrome/service/cloud_print/cloud_print_url_fetcher.cc
index 884e27a7d6f38e0d7d17856060e3f772a4520287..95ed8db74a449867e9a8dda2872feb257a4f7cc3 100644
--- a/chrome/service/cloud_print/cloud_print_url_fetcher.cc
+++ b/chrome/service/cloud_print/cloud_print_url_fetcher.cc
@@ -12,10 +12,10 @@
#include "chrome/service/cloud_print/cloud_print_token_store.h"
#include "chrome/service/net/service_url_request_context.h"
#include "chrome/service/service_process.h"
-#include "content/public/common/url_fetcher.h"
#include "googleurl/src/gurl.h"
#include "net/base/load_flags.h"
#include "net/http/http_status_code.h"
+#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_request_status.h"
CloudPrintURLFetcher::CloudPrintURLFetcher()
@@ -144,7 +144,7 @@ void CloudPrintURLFetcher::StartRequestHelper(
DCHECK(delegate);
// Persist the additional headers in case we need to retry the request.
additional_headers_ = additional_headers;
- request_.reset(content::URLFetcher::Create(url, request_type, this));
+ request_.reset(net::URLFetcher::Create(url, request_type, this));
request_->SetRequestContext(GetRequestContextGetter());
// Since we implement our own retry logic, disable the retry in URLFetcher.
request_->SetAutomaticallyRetryOn5xx(false);
« no previous file with comments | « chrome/common/net/gaia/oauth2_revocation_fetcher_unittest.cc ('k') | chrome/service/gaia/service_gaia_authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698