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

Unified Diff: components/omnibox/browser/scored_history_match.h

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/omnibox/browser/scored_history_match.h
diff --git a/components/omnibox/browser/scored_history_match.h b/components/omnibox/browser/scored_history_match.h
index c00aa603ecb092078586b5320777ce41574c1601..59001443930949abea47bae2f03b0d5f42521a11 100644
--- a/components/omnibox/browser/scored_history_match.h
+++ b/components/omnibox/browser/scored_history_match.h
@@ -48,11 +48,9 @@ struct ScoredHistoryMatch : public history::HistoryMatch {
// match's URL is referenced by any bookmarks, which can also affect the raw
// score. The raw score allows the matches to be ordered and can be used to
// influence the final score calculated by the client of this index. If the
- // row does not qualify the raw score will be 0. |languages| is used to help
- // parse/format the URL before looking for the terms.
+ // row does not qualify the raw score will be 0.
ScoredHistoryMatch(const history::URLRow& row,
const VisitInfoVector& visits,
- const std::string& languages,
const base::string16& lower_string,
const String16Vector& terms_vector,
const WordStarts& terms_to_word_starts_offsets,
« no previous file with comments | « components/omnibox/browser/in_memory_url_index_unittest.cc ('k') | components/omnibox/browser/scored_history_match.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698