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

Unified Diff: components/omnibox/browser/autocomplete_provider_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/autocomplete_provider_unittest.cc
diff --git a/components/omnibox/browser/autocomplete_provider_unittest.cc b/components/omnibox/browser/autocomplete_provider_unittest.cc
index d20f4be89e2f1b5586915bb39e659d2c17daab12..e3f3a3ffba289833ff12e808dd51ff2a5d8241c5 100644
--- a/components/omnibox/browser/autocomplete_provider_unittest.cc
+++ b/components/omnibox/browser/autocomplete_provider_unittest.cc
@@ -443,7 +443,7 @@ void AutocompleteProviderTest::RunKeywordTest(const base::string16& input,
}
controller_->input_ = AutocompleteInput(
- input, base::string16::npos, std::string(), GURL(),
+ input, base::string16::npos, std::string(), GURL(), base::string16(),
metrics::OmniboxEventProto::INSTANT_NTP_WITH_OMNIBOX_AS_STARTING_FOCUS,
false, true, true, true, false, TestingSchemeClassifier());
AutocompleteResult result;
@@ -490,7 +490,7 @@ void AutocompleteProviderTest::RunQuery(const std::string& query,
result_.Reset();
controller_->Start(AutocompleteInput(
base::ASCIIToUTF16(query), base::string16::npos, std::string(), GURL(),
- metrics::OmniboxEventProto::INVALID_SPEC, true, false,
+ base::string16(), metrics::OmniboxEventProto::INVALID_SPEC, true, false,
allow_exact_keyword_match, true, false, TestingSchemeClassifier()));
if (!controller_->done())
« no previous file with comments | « components/omnibox/browser/autocomplete_match_unittest.cc ('k') | components/omnibox/browser/autocomplete_result_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698