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

Unified Diff: components/omnibox/browser/builtin_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/builtin_provider_unittest.cc
diff --git a/components/omnibox/browser/builtin_provider_unittest.cc b/components/omnibox/browser/builtin_provider_unittest.cc
index 091f07bfd9bcdfbfd30164aed2c5e06b8dbc25d7..80466b1808ea58803b100892af6cf2983475f637 100644
--- a/components/omnibox/browser/builtin_provider_unittest.cc
+++ b/components/omnibox/browser/builtin_provider_unittest.cc
@@ -102,8 +102,8 @@ class BuiltinProviderTest : public testing::Test {
"case %" PRIuS ": %s", i, base::UTF16ToUTF8(cases[i].input).c_str()));
const AutocompleteInput input(
cases[i].input, base::string16::npos, std::string(), GURL(),
- metrics::OmniboxEventProto::INVALID_SPEC, true, false, true, true,
- false, TestSchemeClassifier());
+ base::string16(), metrics::OmniboxEventProto::INVALID_SPEC, true,
+ false, true, true, false, TestSchemeClassifier());
provider_->Start(input, false);
EXPECT_TRUE(provider_->done());
matches = provider_->matches();
@@ -297,8 +297,8 @@ TEST_F(BuiltinProviderTest, AboutBlank) {
TEST_F(BuiltinProviderTest, DoesNotSupportMatchesOnFocus) {
const AutocompleteInput input(
ASCIIToUTF16("chrome://m"), base::string16::npos, std::string(), GURL(),
- metrics::OmniboxEventProto::INVALID_SPEC, true, false, true, true, true,
- TestSchemeClassifier());
+ base::string16(), metrics::OmniboxEventProto::INVALID_SPEC, true, false,
+ true, true, true, TestSchemeClassifier());
provider_->Start(input, false);
EXPECT_TRUE(provider_->matches().empty());
}
@@ -384,8 +384,8 @@ TEST_F(BuiltinProviderTest, Inlining) {
"case %" PRIuS ": %s", i, base::UTF16ToUTF8(cases[i].input).c_str()));
const AutocompleteInput input(
cases[i].input, base::string16::npos, std::string(), GURL(),
- metrics::OmniboxEventProto::INVALID_SPEC, false, false, true, true,
- false, TestSchemeClassifier());
+ base::string16(), metrics::OmniboxEventProto::INVALID_SPEC, false,
+ false, true, true, false, TestSchemeClassifier());
provider_->Start(input, false);
EXPECT_TRUE(provider_->done());
matches = provider_->matches();
« no previous file with comments | « components/omnibox/browser/bookmark_provider_unittest.cc ('k') | components/omnibox/browser/clipboard_url_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698