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

Unified Diff: components/omnibox/browser/autocomplete_input_unittest.cc

Issue 2378213002: Mark URLs with empty schemes as invalid. (Closed)
Patch Set: Comments Created 4 years, 2 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
« no previous file with comments | « components/omnibox/browser/autocomplete_input.cc ('k') | components/url_formatter/url_fixer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/omnibox/browser/autocomplete_input_unittest.cc
diff --git a/components/omnibox/browser/autocomplete_input_unittest.cc b/components/omnibox/browser/autocomplete_input_unittest.cc
index 029695867df5fac7cc592dda1676f9861f68fa54..9a632d593e58b7ea01952199a439412bbc6b69c7 100644
--- a/components/omnibox/browser/autocomplete_input_unittest.cc
+++ b/components/omnibox/browser/autocomplete_input_unittest.cc
@@ -161,8 +161,8 @@ TEST(AutocompleteInputTest, InputType) {
{ ASCIIToUTF16("chrome-search://"), metrics::OmniboxInputType::QUERY },
{ ASCIIToUTF16("chrome-devtools:"), metrics::OmniboxInputType::QUERY },
{ ASCIIToUTF16("about://f;"), metrics::OmniboxInputType::QUERY },
- { ASCIIToUTF16("://w"), metrics::OmniboxInputType::QUERY },
- { ASCIIToUTF16(":w"), metrics::OmniboxInputType::QUERY },
+ { ASCIIToUTF16("://w"), metrics::OmniboxInputType::UNKNOWN },
+ { ASCIIToUTF16(":w"), metrics::OmniboxInputType::UNKNOWN },
{ base::WideToUTF16(L".\u062A"), metrics::OmniboxInputType::UNKNOWN },
};
« no previous file with comments | « components/omnibox/browser/autocomplete_input.cc ('k') | components/url_formatter/url_fixer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698