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

Unified Diff: chrome/test/base/testing_profile.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: Address comments Created 5 years, 10 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
« no previous file with comments | « chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_profile.cc
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index 3c2a90fe73855fe22e192c9b6573a493bbd2f634..100a07977a6c314b12e0a774b064a212e8714280 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -568,7 +568,8 @@ bool TestingProfile::CreateHistoryService(bool delete_file, bool no_db) {
HistoryServiceFactory::GetInstance()->SetTestingFactoryAndUse(
this, BuildHistoryService));
if (!history_service->Init(
- no_db, history::HistoryDatabaseParamsForPath(this->GetPath()))) {
+ no_db, GetPrefs()->GetString(prefs::kAcceptLanguages),
+ history::HistoryDatabaseParamsForPath(GetPath()))) {
HistoryServiceFactory::GetInstance()->SetTestingFactory(this, nullptr);
return false;
}
« no previous file with comments | « chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698