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

Unified Diff: chrome/browser/history/history_querying_unittest.cc

Issue 870143004: HistoryService::Init() receives the list of languages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@web-history-service
Patch Set: Created 5 years, 11 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/history/history_querying_unittest.cc
diff --git a/chrome/browser/history/history_querying_unittest.cc b/chrome/browser/history/history_querying_unittest.cc
index 3cdf1e9315242b2ab09f4fa87b42f4f1d4c768fd..b2b01f814aa020e5d00158e23466a466827eef26 100644
--- a/chrome/browser/history/history_querying_unittest.cc
+++ b/chrome/browser/history/history_querying_unittest.cc
@@ -167,7 +167,8 @@ class HistoryQueryTest : public testing::Test {
ASSERT_TRUE(base::CreateDirectory(history_dir_));
history_.reset(new HistoryService);
- if (!history_->Init(TestHistoryDatabaseParamsForPath(history_dir_))) {
+ if (!history_->Init(nullptr,
+ TestHistoryDatabaseParamsForPath(history_dir_))) {
history_.reset(); // Tests should notice this NULL ptr & fail.
return;
}

Powered by Google App Engine
This is Rietveld 408576698