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

Unified Diff: chrome/browser/sync/glue/http_bridge.cc

Issue 10554008: Move content::URLFetcher static functions to net::URLFetcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move URLFetcher back 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/sync/glue/http_bridge.cc
diff --git a/chrome/browser/sync/glue/http_bridge.cc b/chrome/browser/sync/glue/http_bridge.cc
index 98a81d9e28dfddfcf485d37c1ca363ee8b61d1cd..206bdd5099fe954e583af001ef33b515c9653ec1 100644
--- a/chrome/browser/sync/glue/http_bridge.cc
+++ b/chrome/browser/sync/glue/http_bridge.cc
@@ -9,7 +9,6 @@
#include "base/string_number_conversions.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/common/content_client.h"
-#include "content/public/common/url_fetcher.h"
#include "net/base/host_resolver.h"
#include "net/base/load_flags.h"
#include "net/base/net_errors.h"
@@ -18,6 +17,7 @@
#include "net/http/http_network_layer.h"
#include "net/http/http_response_headers.h"
#include "net/proxy/proxy_service.h"
+#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_request_context.h"
#include "net/url_request/url_request_status.h"
@@ -221,7 +221,7 @@ void HttpBridge::MakeAsynchronousPost() {
if (fetch_state_.aborted)
return;
- fetch_state_.url_poster = content::URLFetcher::Create(
+ fetch_state_.url_poster = net::URLFetcher::Create(
url_for_request_, net::URLFetcher::POST, this);
fetch_state_.url_poster->SetRequestContext(context_getter_for_request_);
fetch_state_.url_poster->SetUploadData(content_type_, request_content_);

Powered by Google App Engine
This is Rietveld 408576698