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

Unified Diff: chrome/browser/autocomplete/history_quick_provider_unittest.cc

Issue 14141006: [components] Switch {RefCounted}ProfileKeyedService to use BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 2 Created 7 years, 8 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/autocomplete/history_quick_provider_unittest.cc
diff --git a/chrome/browser/autocomplete/history_quick_provider_unittest.cc b/chrome/browser/autocomplete/history_quick_provider_unittest.cc
index 4afb262b9303857457c790697d083a61f90cd62e..1630ab2aae19394f6ef6ae764ea9c82ab727eeba 100644
--- a/chrome/browser/autocomplete/history_quick_provider_unittest.cc
+++ b/chrome/browser/autocomplete/history_quick_provider_unittest.cc
@@ -111,8 +111,9 @@ class HistoryQuickProviderTest : public testing::Test,
std::set<std::string> matches_;
};
- static ProfileKeyedService* CreateTemplateURLService(Profile* profile) {
- return new TemplateURLService(profile);
+ static ProfileKeyedService* CreateTemplateURLService(
+ content::BrowserContext* profile) {
+ return new TemplateURLService(static_cast<Profile*>(profile));
}
virtual void SetUp();

Powered by Google App Engine
This is Rietveld 408576698