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

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

Issue 355573008: Split keyword related parts of WebDataService as KeywordWebDataService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add OWNERS 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/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 40dc624b4da4bcd7938e8b4281e9d4bdf6de64e2..c23ebdc6357550f20e7d2a11713a556a4553b429 100644
--- a/chrome/browser/search_engines/template_url_service_test_util.cc
+++ b/chrome/browser/search_engines/template_url_service_test_util.cc
@@ -97,7 +97,9 @@ void TemplateURLServiceTestUtilBase::ChangeModelToLoadState() {
// Initialize the web data service so that the database gets updated with
// any changes made.
- model()->service_ = WebDataService::FromBrowserContext(profile());
+ model()->web_data_service_ =
+ WebDataServiceFactory::GetKeywordWebDataForProfile(
+ profile(), Profile::EXPLICIT_ACCESS);
base::RunLoop().RunUntilIdle();
}

Powered by Google App Engine
This is Rietveld 408576698