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

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

Issue 7438002: Deprecate Profile::GetDefaultRequestContext(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix other references. Created 9 years, 5 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 44a512dfd9ec10fd9279d482ace245f7ae6a1bd0..a2b32510093fb6f16c0083aa7851761fd8f9848f 100644
--- a/chrome/browser/importer/toolbar_importer.cc
+++ b/chrome/browser/importer/toolbar_importer.cc
@@ -209,7 +209,8 @@ void Toolbar5Importer::GetAuthenticationFromServer() {
GURL url(url_string);
token_fetcher_ = new URLFetcher(url, URLFetcher::GET, this);
- token_fetcher_->set_request_context(Profile::GetDefaultRequestContext());
+ token_fetcher_->set_request_context(
+ Profile::Deprecated::GetDefaultRequestContext());
token_fetcher_->Start();
}
@@ -242,7 +243,8 @@ void Toolbar5Importer::GetBookmarkDataFromServer(const std::string& response) {
GURL url(conn_string);
data_fetcher_ = new URLFetcher(url, URLFetcher::GET, this);
- data_fetcher_->set_request_context(Profile::GetDefaultRequestContext());
+ data_fetcher_->set_request_context(
+ Profile::Deprecated::GetDefaultRequestContext());
data_fetcher_->Start();
}

Powered by Google App Engine
This is Rietveld 408576698