diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-23 07:12:14 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-23 07:12:14 +0000 |
commit | d3ec669b62912a5464e1c89fde7218d06e4a5522 (patch) | |
tree | 3ba696064595f3a1c8fe6e0ede9735b8d5ba34b2 /chrome/browser/importer | |
parent | 3ea8fe2d0851618159039209591354085a137b11 (diff) | |
download | chromium_src-d3ec669b62912a5464e1c89fde7218d06e4a5522.zip chromium_src-d3ec669b62912a5464e1c89fde7218d06e4a5522.tar.gz chromium_src-d3ec669b62912a5464e1c89fde7218d06e4a5522.tar.bz2 |
Change most content::URLFetcher references to net::URLFetcher
The only remaining use of content::URLFetcher is content::URLFetcher::Create.
Make content::URLFetcher not inherit from net::URLFetcher.
Also make code that directly create URLFetcherImpl instead call content::URLFetcher::Create.
BUG=118220
TEST=
TBR=mnissler@chromium.org,sky@chromium.org,mal@chromium.org,sail@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10412050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138443 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer')
-rw-r--r-- | chrome/browser/importer/toolbar_importer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/importer/toolbar_importer.cc b/chrome/browser/importer/toolbar_importer.cc index 5c601a6..cc38da4 100644 --- a/chrome/browser/importer/toolbar_importer.cc +++ b/chrome/browser/importer/toolbar_importer.cc @@ -214,7 +214,7 @@ void Toolbar5Importer::GetAuthenticationFromServer() { // Because the importer is started as the result of a user action which // explicitly requires authentication, sending cookies here is reasonable. token_fetcher_ = content::URLFetcher::Create( - url, content::URLFetcher::GET, this); + url, net::URLFetcher::GET, this); token_fetcher_->SetRequestContext(request_context_getter_.get()); token_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES); token_fetcher_->Start(); @@ -251,7 +251,7 @@ void Toolbar5Importer::GetBookmarkDataFromServer(const std::string& response) { // Because the importer is started as the result of a user action which // explicitly requires authentication, sending cookies here is reasonable. data_fetcher_ = content::URLFetcher::Create( - url, content::URLFetcher::GET, this); + url, net::URLFetcher::GET, this); data_fetcher_->SetRequestContext(request_context_getter_.get()); data_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES); data_fetcher_->Start(); |