| Index: chrome/browser/autocomplete/search_provider_unittest.cc
|
| diff --git a/chrome/browser/autocomplete/search_provider_unittest.cc b/chrome/browser/autocomplete/search_provider_unittest.cc
|
| index 7a7ef4c6ad016689621c46731c46f8c01933f5fe..bd1f56b655f89906257730ad817bc18a3d558da8 100644
|
| --- a/chrome/browser/autocomplete/search_provider_unittest.cc
|
| +++ b/chrome/browser/autocomplete/search_provider_unittest.cc
|
| @@ -2749,7 +2749,7 @@ TEST_F(SearchProviderTest, NavigationInline) {
|
| SearchSuggestionParser::NavigationResult result(
|
| ChromeAutocompleteSchemeClassifier(&profile_), GURL(cases[i].url),
|
| AutocompleteMatchType::NAVSUGGEST, base::string16(), std::string(),
|
| - false, 0, false, ASCIIToUTF16(cases[i].input), std::string());
|
| + false, 0, false, ASCIIToUTF16(cases[i].input));
|
| result.set_received_after_last_keystroke(false);
|
| AutocompleteMatch match(provider_->NavigationToMatch(result));
|
| EXPECT_EQ(ASCIIToUTF16(cases[i].inline_autocompletion),
|
| @@ -2763,7 +2763,7 @@ TEST_F(SearchProviderTest, NavigationInline) {
|
| SearchSuggestionParser::NavigationResult result_prevent_inline(
|
| ChromeAutocompleteSchemeClassifier(&profile_), GURL(cases[i].url),
|
| AutocompleteMatchType::NAVSUGGEST, base::string16(), std::string(),
|
| - false, 0, false, ASCIIToUTF16(cases[i].input), std::string());
|
| + false, 0, false, ASCIIToUTF16(cases[i].input));
|
| result_prevent_inline.set_received_after_last_keystroke(false);
|
| AutocompleteMatch match_prevent_inline(
|
| provider_->NavigationToMatch(result_prevent_inline));
|
| @@ -2783,7 +2783,7 @@ TEST_F(SearchProviderTest, NavigationInlineSchemeSubstring) {
|
| SearchSuggestionParser::NavigationResult result(
|
| ChromeAutocompleteSchemeClassifier(&profile_), GURL(url),
|
| AutocompleteMatchType::NAVSUGGEST,
|
| - base::string16(), std::string(), false, 0, false, input, std::string());
|
| + base::string16(), std::string(), false, 0, false, input);
|
| result.set_received_after_last_keystroke(false);
|
|
|
| // Check the offset and strings when inline autocompletion is allowed.
|
| @@ -2808,8 +2808,7 @@ TEST_F(SearchProviderTest, NavigationInlineDomainClassify) {
|
| SearchSuggestionParser::NavigationResult result(
|
| ChromeAutocompleteSchemeClassifier(&profile_),
|
| GURL("http://www.wow.com"), AutocompleteMatchType::NAVSUGGEST,
|
| - base::string16(), std::string(), false, 0, false, ASCIIToUTF16("w"),
|
| - std::string());
|
| + base::string16(), std::string(), false, 0, false, ASCIIToUTF16("w"));
|
| result.set_received_after_last_keystroke(false);
|
| AutocompleteMatch match(provider_->NavigationToMatch(result));
|
| EXPECT_EQ(ASCIIToUTF16("ow.com"), match.inline_autocompletion);
|
|
|