summaryrefslogtreecommitdiffstats
path: root/chrome/browser/component_updater
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/component_updater')
-rw-r--r--chrome/browser/component_updater/component_updater_service.cc6
-rw-r--r--chrome/browser/component_updater/component_updater_service_unittest.cc6
2 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/component_updater/component_updater_service.cc b/chrome/browser/component_updater/component_updater_service.cc
index 6e18fd5..06e2bae 100644
--- a/chrome/browser/component_updater/component_updater_service.cc
+++ b/chrome/browser/component_updater/component_updater_service.cc
@@ -28,10 +28,10 @@
#include "content/public/browser/notification_service.h"
#include "content/public/browser/utility_process_host.h"
#include "content/public/browser/utility_process_host_client.h"
-#include "content/public/common/url_fetcher.h"
#include "googleurl/src/gurl.h"
#include "net/base/escape.h"
#include "net/base/load_flags.h"
+#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_fetcher_delegate.h"
using content::BrowserThread;
@@ -506,7 +506,7 @@ void CrxUpdateService::ProcessPendingItems() {
context->pk_hash = item->component.pk_hash;
context->id = item->id;
context->installer = item->component.installer;
- url_fetcher_.reset(content::URLFetcher::Create(
+ url_fetcher_.reset(net::URLFetcher::Create(
0, item->crx_url, net::URLFetcher::GET,
MakeContextDelegate(this, context)));
StartFetch(url_fetcher_.get(), config_->RequestContext(), true);
@@ -567,7 +567,7 @@ void CrxUpdateService::ProcessPendingItems() {
const std::string full_query = MakeFinalQuery(config_->UpdateUrl().spec(),
query,
config_->ExtraRequestParams());
- url_fetcher_.reset(content::URLFetcher::Create(
+ url_fetcher_.reset(net::URLFetcher::Create(
0, GURL(full_query), net::URLFetcher::GET,
MakeContextDelegate(this, new UpdateContext())));
StartFetch(url_fetcher_.get(), config_->RequestContext(), false);
diff --git a/chrome/browser/component_updater/component_updater_service_unittest.cc b/chrome/browser/component_updater/component_updater_service_unittest.cc
index b1fe380..6a25757 100644
--- a/chrome/browser/component_updater/component_updater_service_unittest.cc
+++ b/chrome/browser/component_updater/component_updater_service_unittest.cc
@@ -16,11 +16,11 @@
#include "chrome/common/chrome_paths.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_service.h"
-#include "content/public/common/url_fetcher.h"
#include "content/public/test/test_browser_thread.h"
#include "content/public/test/test_notification_tracker.h"
#include "googleurl/src/gurl.h"
#include "libxml/globals.h"
+#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_request_test_util.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -158,11 +158,11 @@ class ComponentUpdaterTest : public testing::Test {
notification_tracker_.ListenFor(
notifications[ix], content::NotificationService::AllSources());
}
- content::URLFetcher::SetEnableInterceptionForTests(true);
+ net::URLFetcher::SetEnableInterceptionForTests(true);
}
~ComponentUpdaterTest() {
- content::URLFetcher::SetEnableInterceptionForTests(false);
+ net::URLFetcher::SetEnableInterceptionForTests(false);
}
void TearDown() {