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

Unified Diff: chrome/browser/autocomplete/history_url_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_url_provider_unittest.cc
diff --git a/chrome/browser/autocomplete/history_url_provider_unittest.cc b/chrome/browser/autocomplete/history_url_provider_unittest.cc
index 6c7b4c024f054b67686b600886189a091a5b9651..9c9667ebd9da789a0fc592dffefaaaa08bf3be75 100644
--- a/chrome/browser/autocomplete/history_url_provider_unittest.cc
+++ b/chrome/browser/autocomplete/history_url_provider_unittest.cc
@@ -148,8 +148,9 @@ class HistoryURLProviderTest : public testing::Test,
virtual void OnProviderUpdate(bool updated_matches) OVERRIDE;
protected:
- static ProfileKeyedService* CreateTemplateURLService(Profile* profile) {
- return new TemplateURLService(profile);
+ static ProfileKeyedService* CreateTemplateURLService(
+ content::BrowserContext* profile) {
+ return new TemplateURLService(static_cast<Profile*>(profile));
}
// testing::Test

Powered by Google App Engine
This is Rietveld 408576698