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

Unified Diff: chrome/browser/search_engines/template_url_service_test_util.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/search_engines/template_url_service_test_util.cc
diff --git a/chrome/browser/search_engines/template_url_service_test_util.cc b/chrome/browser/search_engines/template_url_service_test_util.cc
index 10009c69767a0ab92a8bb755382c98fd8d48acc9..e464e43aa0a0f627abf31ec2ddf822dbe8773d71 100644
--- a/chrome/browser/search_engines/template_url_service_test_util.cc
+++ b/chrome/browser/search_engines/template_url_service_test_util.cc
@@ -56,8 +56,8 @@ static void WaitForThreadToProcessRequests(BrowserThread::ID identifier) {
// SetKeywordSearchTermsForURL.
class TestingTemplateURLService : public TemplateURLService {
public:
- static ProfileKeyedService* Build(Profile* profile) {
- return new TestingTemplateURLService(profile);
+ static ProfileKeyedService* Build(content::BrowserContext* profile) {
+ return new TestingTemplateURLService(static_cast<Profile*>(profile));
}
explicit TestingTemplateURLService(Profile* profile)

Powered by Google App Engine
This is Rietveld 408576698