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

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

Issue 1841653003: Drop |languages| from {Format,Elide}Url* and IDNToUnicode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased, most Android targets locally built successfully Created 4 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: components/history/core/browser/history_backend.h
diff --git a/components/history/core/browser/history_backend.h b/components/history/core/browser/history_backend.h
index 2af014a9bf148d38d9e694a3ab964107431676e8..573a4010188716cfd4d0fb9c099330fae488fafd 100644
--- a/components/history/core/browser/history_backend.h
+++ b/components/history/core/browser/history_backend.h
@@ -188,11 +188,8 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
// fails, all other functions will fail as well. (Since this runs on another
// thread, we don't bother returning failure.)
//
- // |languages| gives a list of language encodings with which the history
- // URLs and omnibox searches are interpreted.
// |force_fail| can be set during unittests to unconditionally fail to init.
- void Init(const std::string& languages,
- bool force_fail,
+ void Init(bool force_fail,
const HistoryDatabaseParams& history_database_params);
// Notification that the history system is shutting down. This will break
@@ -579,8 +576,7 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
friend class URLQuerier;
// Does the work of Init.
- void InitImpl(const std::string& languages,
- const HistoryDatabaseParams& history_database_params);
+ void InitImpl(const HistoryDatabaseParams& history_database_params);
// Called when the system is under memory pressure.
void OnMemoryPressure(

Powered by Google App Engine
This is Rietveld 408576698