summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profiles/profile_downloader.cc
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-19 08:20:53 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-19 08:20:53 +0000
commit3dc1bc4dd66c4fbf8afd6e5b02115ee3772c21a9 (patch)
tree062a1879d04c5f3a19b84c0502cecb532df198b1 /chrome/browser/profiles/profile_downloader.cc
parent6b04841b5231edf19914543504cf52f39b1baca7 (diff)
downloadchromium_src-3dc1bc4dd66c4fbf8afd6e5b02115ee3772c21a9.zip
chromium_src-3dc1bc4dd66c4fbf8afd6e5b02115ee3772c21a9.tar.gz
chromium_src-3dc1bc4dd66c4fbf8afd6e5b02115ee3772c21a9.tar.bz2
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
Diffstat (limited to 'chrome/browser/profiles/profile_downloader.cc')
-rw-r--r--chrome/browser/profiles/profile_downloader.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/profiles/profile_downloader.cc b/chrome/browser/profiles/profile_downloader.cc
index c4d50ac..0b2211f 100644
--- a/chrome/browser/profiles/profile_downloader.cc
+++ b/chrome/browser/profiles/profile_downloader.cc
@@ -28,9 +28,9 @@
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/notification_source.h"
#include "content/public/browser/notification_types.h"
-#include "content/public/common/url_fetcher.h"
#include "googleurl/src/gurl.h"
#include "net/base/load_flags.h"
+#include "net/url_request/url_fetcher.h"
#include "skia/ext/image_operations.h"
using content::BrowserThread;
@@ -244,7 +244,7 @@ std::string ProfileDownloader::GetProfilePictureURL() const {
void ProfileDownloader::StartFetchingImage() {
VLOG(1) << "Fetching user entry with token: " << auth_token_;
- user_entry_fetcher_.reset(content::URLFetcher::Create(
+ user_entry_fetcher_.reset(net::URLFetcher::Create(
GURL(kUserEntryURL), net::URLFetcher::GET, this));
user_entry_fetcher_->SetRequestContext(
delegate_->GetBrowserProfile()->GetRequestContext());
@@ -308,7 +308,7 @@ void ProfileDownloader::OnURLFetchComplete(const net::URLFetcher* source) {
}
VLOG(1) << "Fetching profile image from " << image_url;
picture_url_ = image_url;
- profile_image_fetcher_.reset(content::URLFetcher::Create(
+ profile_image_fetcher_.reset(net::URLFetcher::Create(
GURL(image_url), net::URLFetcher::GET, this));
profile_image_fetcher_->SetRequestContext(
delegate_->GetBrowserProfile()->GetRequestContext());