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

Unified Diff: components/history/core/browser/history_backend.cc

Issue 1841653003: Drop |languages| from {Format,Elide}Url* and IDNToUnicode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo in elide_url.cc Created 4 years, 8 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: components/history/core/browser/history_backend.cc
diff --git a/components/history/core/browser/history_backend.cc b/components/history/core/browser/history_backend.cc
index 89a7baa42b19fe2ee9d7ae94d0dd218d94f70b6d..9cee47e892206bc47375990ca108894dcadbdcfa 100644
--- a/components/history/core/browser/history_backend.cc
+++ b/components/history/core/browser/history_backend.cc
@@ -238,7 +238,6 @@ HistoryBackend::~HistoryBackend() {
}
void HistoryBackend::Init(
- const std::string& languages,
bool force_fail,
const HistoryDatabaseParams& history_database_params) {
// HistoryBackend is created on the UI thread by HistoryService, then the
@@ -247,7 +246,7 @@ void HistoryBackend::Init(
supports_user_data_helper_.reset(new HistoryBackendHelper);
if (!force_fail)
- InitImpl(languages, history_database_params);
+ InitImpl(history_database_params);
delegate_->DBLoaded();
typed_url_syncable_service_.reset(new TypedUrlSyncableService(this));
memory_pressure_listener_.reset(new base::MemoryPressureListener(
@@ -624,7 +623,6 @@ void HistoryBackend::AddPage(const HistoryAddPageArgs& request) {
}
void HistoryBackend::InitImpl(
- const std::string& languages,
const HistoryDatabaseParams& history_database_params) {
DCHECK(!db_) << "Initializing HistoryBackend twice";
// In the rare case where the db fails to initialize a dialog may get shown
« no previous file with comments | « components/history/core/browser/history_backend.h ('k') | components/history/core/browser/history_backend_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698