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

Unified Diff: components/search_engines/template_url_unittest.cc

Issue 424013002: Update the contextual search API to include a parameter specifying whether the server shoudl return… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
« no previous file with comments | « components/search_engines/template_url.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7056535667c249f52d6d6abfa9ffee9916bbc7ff..0792550303ec09cb08c70e92f2aea167764e0b5f 100644
--- a/components/search_engines/template_url_unittest.cc
+++ b/components/search_engines/template_url_unittest.cc
@@ -1511,7 +1511,7 @@ TEST_F(TemplateURLTest, ContextualSearchParameters) {
TemplateURLRef::SearchTermsArgs::ContextualSearchParams params(
1, 6, 11, "allen", "woody+allen+movies", "www.wikipedia.org",
- "utf-8");
+ "utf-8", true);
search_terms_args.contextual_search_params = params;
result = url.url_ref().ReplaceSearchTerms(search_terms_args,
search_terms_data_);
@@ -1521,8 +1521,9 @@ TEST_F(TemplateURLTest, ContextualSearchParameters) {
"ctxs_end=11&"
"q=allen&"
"ctxs_content=woody+allen+movies&"
- "ctxs_url=www.wikipedia.org&"
- "ctxs_encoding=utf-8&", result);
+ "ctxsl_url=www.wikipedia.org&"
+ "ctxs_encoding=utf-8&"
+ "ctxsl_resolve=1", result);
donnd 2014/07/29 18:01:06 Not from this CL, but the indentation looks wrong
jeremycho 2014/07/29 21:22:24 Done.
}
TEST_F(TemplateURLTest, GenerateKeyword) {
« no previous file with comments | « components/search_engines/template_url.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698