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

Unified Diff: components/omnibox/autocomplete_result.h

Issue 1098843004: Omnibox - Do Not Allow HTTP/HTTPS Equivalence if User Explicitly Entered A Scheme (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final? API changes Created 5 years, 6 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/autocomplete_result.h
diff --git a/components/omnibox/autocomplete_result.h b/components/omnibox/autocomplete_result.h
index 1ffc40c7404be64a54fd99b3f5d2372357d1e0d0..eedfe531150ce39828bc3d8a39cbec4f765fd3cf 100644
--- a/components/omnibox/autocomplete_result.h
+++ b/components/omnibox/autocomplete_result.h
@@ -66,6 +66,7 @@ class AutocompleteResult {
// Copies matches from |old_matches| to provide a consistant result set. See
// comments in code for specifics.
void CopyOldMatches(const AutocompleteInput& input,
+ const std::string& languages,
const AutocompleteResult& old_matches,
TemplateURLService* template_url_service);
@@ -79,6 +80,7 @@ class AutocompleteResult {
// the best kMaxMatches matches. Sets the default match to the best match
// and updates the alternate nav URL.
void SortAndCull(const AutocompleteInput& input,
+ const std::string& languages,
TemplateURLService* template_url_service);
// Returns true if at least one match was copied from the last result.

Powered by Google App Engine
This is Rietveld 408576698