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

Unified Diff: chrome/browser/search/search.cc

Issue 453573002: Remove |kAltInstantURLPath| from search.cc and retain the default Instant search base url path... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 4 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/search/search_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/search.cc
diff --git a/chrome/browser/search/search.cc b/chrome/browser/search/search.cc
index 386cd3c16dec935881b4e66be72bcf076e47f656..0d0d6dd055026ed7cbdde3b4ed0b3ac7db4423e9 100644
--- a/chrome/browser/search/search.cc
+++ b/chrome/browser/search/search.cc
@@ -61,7 +61,6 @@ const char kReuseInstantSearchBasePage[] = "reuse_instant_search_base_page";
// Controls whether to use the alternate Instant search base URL. This allows
// experimentation of Instant search.
const char kUseAltInstantURL[] = "use_alternate_instant_url";
-const char kAltInstantURLPath[] = "search";
const char kAltInstantURLQueryParams[] = "&qbp=1";
const char kDisplaySearchButtonFlagName[] = "display_search_button";
@@ -494,8 +493,6 @@ GURL GetInstantURL(Profile* profile, bool force_instant_results) {
if (ShouldUseAltInstantURL()) {
GURL::Replacements replacements;
- const std::string path(kAltInstantURLPath);
- replacements.SetPathStr(path);
const std::string query(
instant_url.query() + std::string(kAltInstantURLQueryParams));
replacements.SetQueryStr(query);
« no previous file with comments | « no previous file | chrome/browser/search/search_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698