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

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

Issue 10554008: Move content::URLFetcher static functions to net::URLFetcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win link error Created 8 years, 6 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
Index: chrome/browser/importer/toolbar_importer.cc
diff --git a/chrome/browser/importer/toolbar_importer.cc b/chrome/browser/importer/toolbar_importer.cc
index cc38da4be3723d306b26cc4b7438ac8d943fc024..60ec73a81c78f6dc5c7b8c9ac3852892815609ed 100644
--- a/chrome/browser/importer/toolbar_importer.cc
+++ b/chrome/browser/importer/toolbar_importer.cc
@@ -16,9 +16,9 @@
#include "chrome/browser/importer/importer_data_types.h"
#include "chrome/browser/profiles/profile.h"
#include "content/public/browser/browser_thread.h"
-#include "content/public/common/url_fetcher.h"
#include "grit/generated_resources.h"
#include "net/base/load_flags.h"
+#include "net/url_request/url_fetcher.h"
#include "third_party/libxml/chromium/libxml_utils.h"
using content::BrowserThread;
@@ -213,7 +213,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(
+ token_fetcher_ = net::URLFetcher::Create(
url, net::URLFetcher::GET, this);
token_fetcher_->SetRequestContext(request_context_getter_.get());
token_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES);
@@ -250,7 +250,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(
+ data_fetcher_ = net::URLFetcher::Create(
url, net::URLFetcher::GET, this);
data_fetcher_->SetRequestContext(request_context_getter_.get());
data_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES);
« no previous file with comments | « chrome/browser/google/google_url_tracker_unittest.cc ('k') | chrome/browser/intents/cws_intents_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698