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

Unified Diff: chrome/browser/chrome_to_mobile_service.cc

Issue 10412050: Change most content::URLFetcher references to net::URLFetcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ChromeOS, address comments 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/browser/chrome_to_mobile_service.cc
diff --git a/chrome/browser/chrome_to_mobile_service.cc b/chrome/browser/chrome_to_mobile_service.cc
index 9b1eb231dff86f4b3b082c4c4718bd030d70115c..287780c2c6577c13b5d3836e048ef415608d7e72 100644
--- a/chrome/browser/chrome_to_mobile_service.cc
+++ b/chrome/browser/chrome_to_mobile_service.cc
@@ -349,7 +349,7 @@ net::URLFetcher* ChromeToMobileService::CreateRequest(
net::URLFetcher* request = content::URLFetcher::Create(
data.type == SEARCH ? GetSearchURL(service_url) :
GetSubmitURL(service_url, data),
- get ? content::URLFetcher::GET : content::URLFetcher::POST, this);
+ get ? net::URLFetcher::GET : net::URLFetcher::POST, this);
request->SetRequestContext(profile_->GetRequestContext());
request->SetMaxRetries(kMaxRetries);
request->SetExtraRequestHeaders("Authorization: OAuth " +
@@ -397,7 +397,7 @@ void ChromeToMobileService::RequestAccountInfo() {
}
account_info_request_.reset(
- content::URLFetcher::Create(url, content::URLFetcher::GET, this));
+ content::URLFetcher::Create(url, net::URLFetcher::GET, this));
account_info_request_->SetRequestContext(profile_->GetRequestContext());
account_info_request_->SetMaxRetries(kMaxRetries);
// This request sends the user's cookie to check the cloud print service flag.
« no previous file with comments | « chrome/browser/captive_portal/captive_portal_service_unittest.cc ('k') | chrome/browser/chromeos/customization_document.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698