summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/sdch_dictionary_fetcher.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/net/sdch_dictionary_fetcher.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/net/sdch_dictionary_fetcher.cc')
-rw-r--r--chrome/browser/net/sdch_dictionary_fetcher.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/net/sdch_dictionary_fetcher.cc b/chrome/browser/net/sdch_dictionary_fetcher.cc
index 9d1b86e..122e976 100644
--- a/chrome/browser/net/sdch_dictionary_fetcher.cc
+++ b/chrome/browser/net/sdch_dictionary_fetcher.cc
@@ -5,8 +5,9 @@
#include "chrome/browser/net/sdch_dictionary_fetcher.h"
#include "base/compiler_specific.h"
+#include "base/message_loop.h"
#include "chrome/browser/profiles/profile.h"
-#include "content/common/net/url_fetcher.h"
+#include "content/public/common/url_fetcher.h"
#include "net/url_request/url_request_status.h"
SdchDictionaryFetcher::SdchDictionaryFetcher()
@@ -64,8 +65,8 @@ void SdchDictionaryFetcher::StartFetching() {
return;
}
- current_fetch_.reset(new URLFetcher(fetch_queue_.front(), URLFetcher::GET,
- this));
+ current_fetch_.reset(content::URLFetcher::Create(
+ fetch_queue_.front(), content::URLFetcher::GET, this));
fetch_queue_.pop();
current_fetch_->SetRequestContext(context);
current_fetch_->Start();