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

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

Issue 1841653003: Drop |languages| from {Format,Elide}Url* and IDNToUnicode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo in elide_url.cc Created 4 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: 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);
« no previous file with comments | « chrome/browser/autocomplete/in_memory_url_index_factory.cc ('k') | chrome/browser/bookmarks/bookmark_model_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698