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

Unified Diff: chrome/browser/android/provider/chrome_browser_provider.cc

Issue 17022004: Replace --google-base-suggest-url and --instant-url with --google-base-url. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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 | « no previous file | chrome/browser/autocomplete/autocomplete_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/provider/chrome_browser_provider.cc
===================================================================
--- chrome/browser/android/provider/chrome_browser_provider.cc (revision 208572)
+++ chrome/browser/android/provider/chrome_browser_provider.cc (working copy)
@@ -894,8 +894,9 @@
template_service->GetDefaultSearchProvider();
if (search_engine) {
const TemplateURLRef* search_url = &search_engine->url_ref();
- std::string url = search_url->ReplaceSearchTerms(
- TemplateURLRef::SearchTermsArgs(row->search_term()));
+ TemplateURLRef::SearchTermsArgs search_terms_args(row->search_term());
+ search_terms_args.append_extra_query_params = true;
+ std::string url = search_url->ReplaceSearchTerms(search_terms_args);
if (!url.empty()) {
row->set_url(GURL(url));
row->set_template_url_id(search_engine->id());
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698