| Index: chrome/browser/autocomplete/history_url_provider.cc
|
| diff --git a/chrome/browser/autocomplete/history_url_provider.cc b/chrome/browser/autocomplete/history_url_provider.cc
|
| index 1db38f0df02a2714c7b009cf557dd663f93e44e9..f166302d1d0bad41bebc9f56b262232a7b0b4bcf 100644
|
| --- a/chrome/browser/autocomplete/history_url_provider.cc
|
| +++ b/chrome/browser/autocomplete/history_url_provider.cc
|
| @@ -180,7 +180,7 @@ void HistoryURLProvider::DoAutocomplete(history::HistoryBackend* backend,
|
| // care:
|
| // * Their input can be opened as a URL, and
|
| // * They hit ctrl-enter, or we parsed the input as a URL, or it starts with
|
| - // an explicit "http:" or "https:".
|
| + // an explicit "http:", "https:", or "httpsv:".
|
| // Otherwise, this is just low-quality noise. In the cases where we've parsed
|
| // as UNKNOWN, we'll still show an accidental search infobar if need be.
|
| bool have_what_you_typed_match =
|
| @@ -189,7 +189,9 @@ void HistoryURLProvider::DoAutocomplete(history::HistoryBackend* backend,
|
| ((params->input.type() != AutocompleteInput::UNKNOWN) ||
|
| !params->trim_http ||
|
| url_util::FindAndCompareScheme(UTF16ToUTF8(params->input.text()),
|
| - chrome::kHttpsScheme, NULL));
|
| + chrome::kHttpsScheme, NULL) ||
|
| + url_util::FindAndCompareScheme(UTF16ToUTF8(params->input.text()),
|
| + chrome::kHttpsvScheme, NULL));
|
| AutocompleteMatch what_you_typed_match(SuggestExactInput(params->input,
|
| params->trim_http));
|
|
|
|
|