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

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

Issue 151813002: Adds InstantExtendedEnabledParam to the search request URL iff the query extraction flag is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 10 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.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/history_url_provider.cc
diff --git a/chrome/browser/autocomplete/history_url_provider.cc b/chrome/browser/autocomplete/history_url_provider.cc
index 037904d917943affdaec4f67262e69ac4c67cd88..ce070a71f2530db3b9ee800d16a074099f779622 100644
--- a/chrome/browser/autocomplete/history_url_provider.cc
+++ b/chrome/browser/autocomplete/history_url_provider.cc
@@ -241,7 +241,6 @@ class SearchTermsDataSnapshot : public SearchTermsData {
virtual std::string GetSearchClient() const OVERRIDE;
virtual std::string ForceInstantResultsParam(
bool for_prerender) const OVERRIDE;
- virtual std::string InstantExtendedEnabledParam() const OVERRIDE;
virtual std::string NTPIsThemedParam() const OVERRIDE;
private:
@@ -250,7 +249,6 @@ class SearchTermsDataSnapshot : public SearchTermsData {
base::string16 rlz_parameter_value_;
std::string search_client_;
std::string force_instant_results_param_;
- std::string instant_extended_enabled_param_;
std::string ntp_is_themed_param_;
DISALLOW_COPY_AND_ASSIGN(SearchTermsDataSnapshot);
@@ -264,8 +262,6 @@ SearchTermsDataSnapshot::SearchTermsDataSnapshot(
search_client_(search_terms_data.GetSearchClient()),
force_instant_results_param_(
search_terms_data.ForceInstantResultsParam(false)),
- instant_extended_enabled_param_(
- search_terms_data.InstantExtendedEnabledParam()),
ntp_is_themed_param_(search_terms_data.NTPIsThemedParam()) {}
SearchTermsDataSnapshot::~SearchTermsDataSnapshot() {
@@ -292,10 +288,6 @@ std::string SearchTermsDataSnapshot::ForceInstantResultsParam(
return force_instant_results_param_;
}
-std::string SearchTermsDataSnapshot::InstantExtendedEnabledParam() const {
- return instant_extended_enabled_param_;
-}
-
std::string SearchTermsDataSnapshot::NTPIsThemedParam() const {
return ntp_is_themed_param_;
}
« no previous file with comments | « no previous file | chrome/browser/search/search.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698