Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4465)

Unified Diff: chrome/browser/importer/toolbar_importer.cc

Issue 10412050: Change most content::URLFetcher references to net::URLFetcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ChromeOS, address comments Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/google/google_url_tracker.cc ('k') | chrome/browser/intents/cws_intents_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/toolbar_importer.cc
diff --git a/chrome/browser/importer/toolbar_importer.cc b/chrome/browser/importer/toolbar_importer.cc
index 5c601a6fae9133541662222c34c63d63a03b070b..cc38da4be3723d306b26cc4b7438ac8d943fc024 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();
« no previous file with comments | « chrome/browser/google/google_url_tracker.cc ('k') | chrome/browser/intents/cws_intents_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698