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

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

Issue 12871006: Second try at splitting WebDataService (minus ownership changes) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix WIN paths Created 7 years, 9 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 244046e4848afb903065da334133e6f0e2a04cbc..69c2d7ecd2fc923678e34b52eabd307b662af33c 100644
--- a/chrome/browser/search_engines/template_url_service_test_util.cc
+++ b/chrome/browser/search_engines/template_url_service_test_util.cc
@@ -121,7 +121,7 @@ void TemplateURLServiceTestingProfile::SetUp() {
base::FilePath path = temp_dir_.path().AppendASCII("TestDataService.db");
service_ = new WebDataService;
- ASSERT_TRUE(service_->InitWithPath(path));
+ service_->Init(path);
}
void TemplateURLServiceTestingProfile::TearDown() {
@@ -233,6 +233,7 @@ void TemplateURLServiceTestUtil::ChangeModelToLoadState() {
model()->service_ = WebDataServiceFactory::GetForProfile(
profile_.get(), Profile::EXPLICIT_ACCESS);
+ BlockTillServiceProcessesRequests();
}
void TemplateURLServiceTestUtil::ClearModel() {

Powered by Google App Engine
This is Rietveld 408576698