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

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

Issue 10412050: Change most content::URLFetcher references to net::URLFetcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix indent and typo 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
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 3a8990a4a2c3b50d63ba30718d74c8056490df17..c663f72a0f672fdfe06ec60d156c947e324a54ed 100644
--- a/chrome/service/cloud_print/cloud_print_url_fetcher.cc
+++ b/chrome/service/cloud_print/cloud_print_url_fetcher.cc
@@ -31,7 +31,7 @@ void CloudPrintURLFetcher::StartGetRequest(
int max_retries,
const std::string& additional_headers) {
StartRequestHelper(url,
- content::URLFetcher::GET,
+ net::URLFetcher::GET,
delegate,
max_retries,
std::string(),
@@ -47,7 +47,7 @@ void CloudPrintURLFetcher::StartPostRequest(
const std::string& post_data,
const std::string& additional_headers) {
StartRequestHelper(url,
- content::URLFetcher::POST,
+ net::URLFetcher::POST,
delegate,
max_retries,
post_data_mime_type,
@@ -133,7 +133,7 @@ void CloudPrintURLFetcher::OnURLFetchComplete(
void CloudPrintURLFetcher::StartRequestHelper(
const GURL& url,
- content::URLFetcher::RequestType request_type,
+ net::URLFetcher::RequestType request_type,
Delegate* delegate,
int max_retries,
const std::string& post_data_mime_type,
@@ -149,7 +149,7 @@ void CloudPrintURLFetcher::StartRequestHelper(
request_->SetMaxRetries(max_retries);
delegate_ = delegate;
SetupRequestHeaders();
- if (request_type == content::URLFetcher::POST) {
+ if (request_type == net::URLFetcher::POST) {
request_->SetUploadData(post_data_mime_type, post_data);
}

Powered by Google App Engine
This is Rietveld 408576698