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

Unified Diff: components/omnibox/browser/history_url_provider.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/history_url_provider.h
diff --git a/components/omnibox/browser/history_url_provider.h b/components/omnibox/browser/history_url_provider.h
index 9cee39dfda59bcab6fc7112748e428a347f7626d..1b1e43a9708f3aac83648ee9b6ef2a6059845703 100644
--- a/components/omnibox/browser/history_url_provider.h
+++ b/components/omnibox/browser/history_url_provider.h
@@ -103,7 +103,6 @@ struct HistoryURLProviderParams {
HistoryURLProviderParams(const AutocompleteInput& input,
bool trim_http,
const AutocompleteMatch& what_you_typed_match,
- const std::string& languages,
TemplateURL* default_search_provider,
const SearchTermsData& search_terms_data);
~HistoryURLProviderParams();
@@ -166,9 +165,6 @@ struct HistoryURLProviderParams {
// |matches_| even when |promote_type| is not WHAT_YOU_TYPED_MATCH.
bool have_what_you_typed_match;
- // Languages we should pass to gfx::GetCleanStringFromUrl.
- std::string languages;
-
// The default search provider and search terms data necessary to cull results
// that correspond to searches (on the default engine). These can only be
// obtained on the UI thread, so we have to copy them into here to pass them
@@ -325,7 +321,6 @@ class HistoryURLProvider : public HistoryProvider {
AutocompleteMatch HistoryMatchToACMatch(
const HistoryURLProviderParams& params,
size_t match_number,
- MatchType match_type,
int relevance);
AutocompleteProviderListener* listener_;
« no previous file with comments | « components/omnibox/browser/history_quick_provider_unittest.cc ('k') | components/omnibox/browser/history_url_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698