diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-26 01:12:22 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-26 01:12:22 +0000 |
commit | 36aea270be00f58680c3eff2cfeb7061c35276d5 (patch) | |
tree | 08066a2eef66b64f9a98fb16160b9ac90c1a82b1 /chrome/browser/google | |
parent | 28973f008ca89d623ec9ce48518a04436b1c71e4 (diff) | |
download | chromium_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/google')
-rw-r--r-- | chrome/browser/google/google_url_tracker.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/google/google_url_tracker.cc b/chrome/browser/google/google_url_tracker.cc index 3e91c12..6d5eb2a 100644 --- a/chrome/browser/google/google_url_tracker.cc +++ b/chrome/browser/google/google_url_tracker.cc @@ -22,8 +22,8 @@ #include "chrome/common/pref_names.h" #include "content/browser/tab_contents/navigation_controller.h" #include "content/browser/tab_contents/tab_contents.h" -#include "content/common/net/url_fetcher.h" #include "content/public/browser/notification_service.h" +#include "content/public/common/url_fetcher.h" #include "grit/generated_resources.h" #include "net/base/load_flags.h" #include "net/base/net_util.h" @@ -205,8 +205,9 @@ void GoogleURLTracker::StartFetchIfDesirable() { return; already_fetched_ = true; - fetcher_.reset(URLFetcher::Create(fetcher_id_, GURL(kSearchDomainCheckURL), - URLFetcher::GET, this)); + fetcher_.reset(content::URLFetcher::Create( + fetcher_id_, GURL(kSearchDomainCheckURL), content::URLFetcher::GET, + this)); ++fetcher_id_; // We don't want this fetch to affect existing state in local_state. For // example, if a user has no Google cookies, this automatic check should not |