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

Unified Diff: chrome/browser/chrome_to_mobile_service.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/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 db1598f6785c83abcf071acddf98793fddbe76fe..557c168644c361d65619990fdce03a37c7b55ee6 100644
--- a/chrome/browser/chrome_to_mobile_service.cc
+++ b/chrome/browser/chrome_to_mobile_service.cc
@@ -32,9 +32,9 @@
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_source.h"
#include "content/public/browser/web_contents.h"
-#include "content/public/common/url_fetcher.h"
#include "net/base/escape.h"
#include "net/base/load_flags.h"
+#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_request_context_getter.h"
namespace {
@@ -346,7 +346,7 @@ net::URLFetcher* ChromeToMobileService::CreateRequest(
const RequestData& data) {
bool get = data.type != SNAPSHOT;
GURL service_url(cloud_print_url_->GetCloudPrintServiceURL());
- net::URLFetcher* request = content::URLFetcher::Create(
+ net::URLFetcher* request = net::URLFetcher::Create(
data.type == SEARCH ? GetSearchURL(service_url) :
GetSubmitURL(service_url, data),
get ? net::URLFetcher::GET : net::URLFetcher::POST, this);
@@ -397,7 +397,7 @@ void ChromeToMobileService::RequestAccountInfo() {
}
account_info_request_.reset(
- content::URLFetcher::Create(url, net::URLFetcher::GET, this));
+ net::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.cc ('k') | chrome/browser/chromeos/customization_document.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698