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

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

Issue 12623029: Upstreaming mechanism to add query refinement to omnibox searches. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed ChromeOS. Created 7 years, 9 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: chrome/browser/autocomplete/extension_app_provider_unittest.cc
diff --git a/chrome/browser/autocomplete/extension_app_provider_unittest.cc b/chrome/browser/autocomplete/extension_app_provider_unittest.cc
index 4a7c2b6cfc4b27e6d02a097a6439a30e4ce89e41..29cf3bafdb9deb1ca6bbb25ff7744b28ba61f1f1 100644
--- a/chrome/browser/autocomplete/extension_app_provider_unittest.cc
+++ b/chrome/browser/autocomplete/extension_app_provider_unittest.cc
@@ -87,7 +87,8 @@ void ExtensionAppProviderTest::RunTest(
ACMatches matches;
for (int i = 0; i < num_cases; ++i) {
AutocompleteInput input(keyword_cases[i].input, string16::npos, string16(),
- true, false, true, AutocompleteInput::ALL_MATCHES);
+ GURL(), true, false, true,
+ AutocompleteInput::ALL_MATCHES);
app_provider_->Start(input, false);
EXPECT_TRUE(app_provider_->done());
matches = app_provider_->matches();
@@ -136,7 +137,8 @@ TEST_F(ExtensionAppProviderTest, CreateMatchSanitize) {
};
AutocompleteInput input(ASCIIToUTF16("Test"), string16::npos, string16(),
- true, true, true, AutocompleteInput::BEST_MATCH);
+ GURL(), true, true, true,
+ AutocompleteInput::BEST_MATCH);
string16 url(ASCIIToUTF16("http://example.com"));
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(cases); ++i) {
ExtensionAppProvider::ExtensionApp extension_app =

Powered by Google App Engine
This is Rietveld 408576698