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

Unified Diff: components/omnibox/browser/search_suggestion_parser.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/search_suggestion_parser.h
diff --git a/components/omnibox/browser/search_suggestion_parser.h b/components/omnibox/browser/search_suggestion_parser.h
index 83e07ab1290c9069932554413f10756464da9bc4..e5ba817b2339e55a020f191b99c7f49c1010c69c 100644
--- a/components/omnibox/browser/search_suggestion_parser.h
+++ b/components/omnibox/browser/search_suggestion_parser.h
@@ -202,8 +202,7 @@ class SearchSuggestionParser {
bool from_keyword_provider,
int relevance,
bool relevance_from_server,
- const base::string16& input_text,
- const std::string& languages);
+ const base::string16& input_text);
~NavigationResult() override;
const GURL& url() const { return url_; }
@@ -211,13 +210,11 @@ class SearchSuggestionParser {
const base::string16& formatted_url() const { return formatted_url_; }
// Fills in |match_contents_| and |match_contents_class_| to reflect how
- // the URL should be displayed and bolded against the current |input_text|
- // and user |languages|. If |allow_bolding_nothing| is false and
- // |match_contents_class_| would result in an entirely unbolded
- // |match_contents_|, do nothing.
+ // the URL should be displayed and bolded against the current |input_text|.
+ // If |allow_bolding_nothing| is false and |match_contents_class_| would
+ // result in an entirely unbolded |match_contents_|, do nothing.
void CalculateAndClassifyMatchContents(const bool allow_bolding_nothing,
- const base::string16& input_text,
- const std::string& languages);
+ const base::string16& input_text);
// Result:
int CalculateRelevance(const AutocompleteInput& input,
@@ -300,7 +297,6 @@ class SearchSuggestionParser {
const AutocompleteInput& input,
const AutocompleteSchemeClassifier& scheme_classifier,
int default_result_relevance,
- const std::string& languages,
bool is_keyword_result,
Results* results);
« no previous file with comments | « components/omnibox/browser/search_provider.cc ('k') | components/omnibox/browser/search_suggestion_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698