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

Unified Diff: chrome/browser/autocomplete/history_url_provider_unittest.cc

Issue 320713002: Revert of Omnibox: Combine Two Input Type Enums into One (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « chrome/browser/autocomplete/history_url_provider.cc ('k') | chrome/browser/autocomplete/keyword_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/history_url_provider_unittest.cc
diff --git a/chrome/browser/autocomplete/history_url_provider_unittest.cc b/chrome/browser/autocomplete/history_url_provider_unittest.cc
index 15cfe54d6e821e4927b2ddb330ed809750a9f6c9..45caf467bb12c8715cdef023cb39302606b805ff 100644
--- a/chrome/browser/autocomplete/history_url_provider_unittest.cc
+++ b/chrome/browser/autocomplete/history_url_provider_unittest.cc
@@ -670,14 +670,14 @@
int relevance;
AutocompleteInput::Type type;
} test_cases[] = {
- { "gooey", 1410, metrics::OmniboxInputType::UNKNOWN },
- { "gooey/", 1410, metrics::OmniboxInputType::URL },
- { "gooey#", 1200, metrics::OmniboxInputType::UNKNOWN },
- { "gooey/#", 1200, metrics::OmniboxInputType::URL },
- { "gooey#foo", 1200, metrics::OmniboxInputType::UNKNOWN },
- { "gooey/#foo", 1200, metrics::OmniboxInputType::URL },
- { "gooey# foo", 1200, metrics::OmniboxInputType::UNKNOWN },
- { "gooey/# foo", 1200, metrics::OmniboxInputType::URL },
+ { "gooey", 1410, AutocompleteInput::UNKNOWN },
+ { "gooey/", 1410, AutocompleteInput::URL },
+ { "gooey#", 1200, AutocompleteInput::UNKNOWN },
+ { "gooey/#", 1200, AutocompleteInput::URL },
+ { "gooey#foo", 1200, AutocompleteInput::UNKNOWN },
+ { "gooey/#foo", 1200, AutocompleteInput::URL },
+ { "gooey# foo", 1200, AutocompleteInput::UNKNOWN },
+ { "gooey/# foo", 1200, AutocompleteInput::URL },
};
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_cases); ++i) {
SCOPED_TRACE(test_cases[i].input);
« no previous file with comments | « chrome/browser/autocomplete/history_url_provider.cc ('k') | chrome/browser/autocomplete/keyword_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698