From 3dc1bc4dd66c4fbf8afd6e5b02115ee3772c21a9 Mon Sep 17 00:00:00 2001
From: "akalin@chromium.org"
 <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Tue, 19 Jun 2012 08:20:53 +0000
Subject: Move content::URLFetcher static functions to net::URLFetcher

Remove content::URLFetcher.

Update all references.

Add explicit dependency on content_common from browser, since template_url_fetcher.cc calls AssociateURLFetcherWithRenderView
(there are probably other direct uses of content_common).

BUG=118220
TEST=
TBR=satorux@chromium.org,mnissler@chromium.org,mal@chromium.org,jhawkins@chromium.org,sky@chromium.org,rlp@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10554008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142926 0039d316-1c4b-4281-b951-d872f2087c98
---
 content/browser/browser_process_sub_thread.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'content/browser/browser_process_sub_thread.cc')

diff --git a/content/browser/browser_process_sub_thread.cc b/content/browser/browser_process_sub_thread.cc
index bab8ead..4a705ed 100644
--- a/content/browser/browser_process_sub_thread.cc
+++ b/content/browser/browser_process_sub_thread.cc
@@ -14,7 +14,7 @@
 #include "content/browser/browser_child_process_host_impl.h"
 #include "content/browser/in_process_webkit/indexed_db_key_utility_client.h"
 #include "content/browser/notification_service_impl.h"
-#include "content/public/common/url_fetcher.h"
+#include "net/url_request/url_fetcher.h"
 #include "net/url_request/url_request.h"
 
 namespace content {
@@ -68,7 +68,7 @@ void BrowserProcessSubThread::IOThreadPreCleanUp() {
   // net::URLRequest/net::URLRequestContexts.
 
   // Destroy all URLRequests started by URLFetchers.
-  content::URLFetcher::CancelAll();
+  net::URLFetcher::CancelAll();
 
   IndexedDBKeyUtilityClient::Shutdown();
 
-- 
cgit v1.1