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

Unified Diff: components/omnibox/browser/autocomplete_result.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/omnibox/browser/autocomplete_result.cc
diff --git a/components/omnibox/browser/autocomplete_result.cc b/components/omnibox/browser/autocomplete_result.cc
index 9e4bf1d769a98938709b48fcf57250ab96408133..750e00c09e73345d44931b3a92eab58779c99a9e 100644
--- a/components/omnibox/browser/autocomplete_result.cc
+++ b/components/omnibox/browser/autocomplete_result.cc
@@ -123,7 +123,6 @@ AutocompleteResult::~AutocompleteResult() {}
void AutocompleteResult::CopyOldMatches(
const AutocompleteInput& input,
- const std::string& languages,
const AutocompleteResult& old_matches,
TemplateURLService* template_url_service) {
if (old_matches.empty())
@@ -161,7 +160,7 @@ void AutocompleteResult::CopyOldMatches(
i->second, matches_per_provider[i->first]);
}
- SortAndCull(input, languages, template_url_service);
+ SortAndCull(input, template_url_service);
}
void AutocompleteResult::AppendMatches(const AutocompleteInput& input,
@@ -204,10 +203,9 @@ void AutocompleteResult::AppendMatches(const AutocompleteInput& input,
void AutocompleteResult::SortAndCull(
const AutocompleteInput& input,
- const std::string& languages,
TemplateURLService* template_url_service) {
for (ACMatches::iterator i(matches_.begin()); i != matches_.end(); ++i)
- i->ComputeStrippedDestinationURL(input, languages, template_url_service);
+ i->ComputeStrippedDestinationURL(input, template_url_service);
DedupMatchesByDestination(input.current_page_classification(), true,
&matches_);
« no previous file with comments | « components/omnibox/browser/autocomplete_result.h ('k') | components/omnibox/browser/autocomplete_result_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698