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

Unified Diff: chrome/browser/search_engines/template_url_service_sync_unittest.cc

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 years, 7 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_sync_unittest.cc
diff --git a/chrome/browser/search_engines/template_url_service_sync_unittest.cc b/chrome/browser/search_engines/template_url_service_sync_unittest.cc
index 4148118bcad4f6aa2b6505a4c78eadbeca8db7ff..86ce43c429526afe7c220b43a9fb521a362f0d30 100644
--- a/chrome/browser/search_engines/template_url_service_sync_unittest.cc
+++ b/chrome/browser/search_engines/template_url_service_sync_unittest.cc
@@ -259,7 +259,7 @@ void TemplateURLServiceSyncTest::SetUp() {
// just foul them up).
test_util_a_.ChangeModelToLoadState();
profile_b_.reset(new TestingProfile);
- TemplateURLServiceFactory::GetInstance()->RegisterUserPrefsOnProfile(
+ TemplateURLServiceFactory::GetInstance()->RegisterUserPrefsOnBrowserContext(
profile_b_.get());
model_b_.reset(new TemplateURLService(profile_b_.get()));
model_b_->Load();

Powered by Google App Engine
This is Rietveld 408576698