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

Unified Diff: chrome/browser/ui/views/frame/test_with_browser_view.cc

Issue 366523002: Stop depending on chrome/browser/rlz/rlz.h from TemplateURLService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Inject via ctor Created 6 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/ui/views/frame/test_with_browser_view.cc
diff --git a/chrome/browser/ui/views/frame/test_with_browser_view.cc b/chrome/browser/ui/views/frame/test_with_browser_view.cc
index a4b4d9395e078709b7edc25dd64dd773e02a8395..1733065dec74afbf4f435aa6b76edadbfc605cbf 100644
--- a/chrome/browser/ui/views/frame/test_with_browser_view.cc
+++ b/chrome/browser/ui/views/frame/test_with_browser_view.cc
@@ -28,7 +28,8 @@ namespace {
// Caller owns the returned service.
KeyedService* CreateTemplateURLService(content::BrowserContext* profile) {
- return new TemplateURLService(static_cast<Profile*>(profile), NULL);
+ return new TemplateURLService(static_cast<Profile*>(profile), NULL,
+ base::Closure());
}
KeyedService* CreateAutocompleteClassifier(content::BrowserContext* profile) {

Powered by Google App Engine
This is Rietveld 408576698