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

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

Issue 2738003002: Add title to current page in zero suggest. (Closed)
Patch Set: Remove debugging info. Created 3 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/titled_url_match_utils_unittest.cc
diff --git a/components/omnibox/browser/titled_url_match_utils_unittest.cc b/components/omnibox/browser/titled_url_match_utils_unittest.cc
index bc512878aeeb938df16276f9cd14cdee2db6e7ae..2ab7e489754514e4fb4080b3de8cb72009b0a549 100644
--- a/components/omnibox/browser/titled_url_match_utils_unittest.cc
+++ b/components/omnibox/browser/titled_url_match_utils_unittest.cc
@@ -76,8 +76,9 @@ TEST(TitledUrlMatchUtilsTest, TitledUrlMatchToAutocompleteMatch) {
new MockAutocompleteProvider(AutocompleteProvider::Type::TYPE_BOOKMARK);
TestSchemeClassifier classifier;
AutocompleteInput input(input_text, base::string16::npos, std::string(),
- GURL(), metrics::OmniboxEventProto::NTP, false, false,
- true, true, false, classifier);
+ GURL(), base::string16(),
+ metrics::OmniboxEventProto::NTP, false, false, true,
+ true, false, classifier);
const base::string16 fixed_up_input(input_text);
AutocompleteMatch autocomplete_match = TitledUrlMatchToAutocompleteMatch(
@@ -136,8 +137,9 @@ TEST(TitledUrlMatchUtilsTest, EmptyInlineAutocompletion) {
new MockAutocompleteProvider(AutocompleteProvider::Type::TYPE_BOOKMARK);
TestSchemeClassifier classifier;
AutocompleteInput input(input_text, base::string16::npos, std::string(),
- GURL(), metrics::OmniboxEventProto::NTP, false, false,
- true, true, false, classifier);
+ GURL(), base::string16(),
+ metrics::OmniboxEventProto::NTP, false, false, true,
+ true, false, classifier);
const base::string16 fixed_up_input(input_text);
AutocompleteMatch autocomplete_match = TitledUrlMatchToAutocompleteMatch(
« no previous file with comments | « components/omnibox/browser/shortcuts_provider_unittest.cc ('k') | components/omnibox/browser/verbatim_match.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698