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

Unified Diff: components/search_engines/template_url_unittest.cc

Issue 1855423003: Interpret '?' and Ctrl-K or Ctrl-E as putting omnibox in keyword search mode for Default Search Pro… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Factor out some code into OmniboxView and fix nits Created 4 years, 7 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/search_engines/template_url_unittest.cc
diff --git a/components/search_engines/template_url_unittest.cc b/components/search_engines/template_url_unittest.cc
index 6103835a45f678ba3ba8dc336016f85217edb943..e0a413a5684344dd2854eb9744d362e9dabf44fa 100644
--- a/components/search_engines/template_url_unittest.cc
+++ b/components/search_engines/template_url_unittest.cc
@@ -641,10 +641,6 @@ TEST_F(TemplateURLTest, ReplaceInputType) {
metrics::OmniboxInputType::URL,
"{google:baseURL}?{searchTerms}&{google:inputType}",
"http://www.google.com/?foo&oit=3&" },
- { ASCIIToUTF16("foo"),
- metrics::OmniboxInputType::FORCED_QUERY,
- "{google:baseURL}?{searchTerms}&{google:inputType}",
- "http://www.google.com/?foo&oit=5&" },
};
TemplateURLData data;
data.input_encodings.push_back("UTF-8");

Powered by Google App Engine
This is Rietveld 408576698