summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/webstore_install_helper.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-26 01:12:22 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-26 01:12:22 +0000
commit36aea270be00f58680c3eff2cfeb7061c35276d5 (patch)
tree08066a2eef66b64f9a98fb16160b9ac90c1a82b1 /chrome/browser/extensions/webstore_install_helper.cc
parent28973f008ca89d623ec9ce48518a04436b1c71e4 (diff)
downloadchromium_src-36aea270be00f58680c3eff2cfeb7061c35276d5.zip
chromium_src-36aea270be00f58680c3eff2cfeb7061c35276d5.tar.gz
chromium_src-36aea270be00f58680c3eff2cfeb7061c35276d5.tar.bz2
Convert chrome callers of UrlFetcher to use the interface. I'll switch tests to use composition instead of inheritence in a future change.
BUG=98716 Review URL: http://codereview.chromium.org/8395023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107268 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/webstore_install_helper.cc')
-rw-r--r--chrome/browser/extensions/webstore_install_helper.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/extensions/webstore_install_helper.cc b/chrome/browser/extensions/webstore_install_helper.cc
index 6a0c26d..c06815a 100644
--- a/chrome/browser/extensions/webstore_install_helper.cc
+++ b/chrome/browser/extensions/webstore_install_helper.cc
@@ -10,7 +10,7 @@
#include "base/values.h"
#include "chrome/common/chrome_utility_messages.h"
#include "content/browser/browser_thread.h"
-#include "content/common/net/url_fetcher.h"
+#include "content/public/common/url_fetcher.h"
#include "net/url_request/url_request_context_getter.h"
#include "net/url_request/url_request_status.h"
@@ -54,7 +54,8 @@ void WebstoreInstallHelper::Start() {
if (!icon_url_.is_empty()) {
CHECK(context_getter_);
- url_fetcher_.reset(new URLFetcher(icon_url_, URLFetcher::GET, this));
+ url_fetcher_.reset(content::URLFetcher::Create(
+ icon_url_, content::URLFetcher::GET, this));
url_fetcher_->SetRequestContext(context_getter_);
url_fetcher_->Start();