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

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

Issue 164493005: Move SearchTermsData::ForceInstantResultsParam() to chrome::ForceInstantResultsParam(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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') | chrome/browser/search/search.cc » ('J')
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 ce070a71f2530db3b9ee800d16a074099f779622..54f54720b23c482b02622d7bd7780e0eef9f331f 100644
--- a/chrome/browser/autocomplete/history_url_provider.cc
+++ b/chrome/browser/autocomplete/history_url_provider.cc
@@ -239,8 +239,6 @@ class SearchTermsDataSnapshot : public SearchTermsData {
virtual std::string GetApplicationLocale() const OVERRIDE;
virtual base::string16 GetRlzParameterValue() const OVERRIDE;
virtual std::string GetSearchClient() const OVERRIDE;
- virtual std::string ForceInstantResultsParam(
- bool for_prerender) const OVERRIDE;
virtual std::string NTPIsThemedParam() const OVERRIDE;
private:
@@ -248,7 +246,6 @@ class SearchTermsDataSnapshot : public SearchTermsData {
std::string application_locale_;
base::string16 rlz_parameter_value_;
std::string search_client_;
- std::string force_instant_results_param_;
std::string ntp_is_themed_param_;
DISALLOW_COPY_AND_ASSIGN(SearchTermsDataSnapshot);
@@ -260,8 +257,6 @@ SearchTermsDataSnapshot::SearchTermsDataSnapshot(
application_locale_(search_terms_data.GetApplicationLocale()),
rlz_parameter_value_(search_terms_data.GetRlzParameterValue()),
search_client_(search_terms_data.GetSearchClient()),
- force_instant_results_param_(
- search_terms_data.ForceInstantResultsParam(false)),
ntp_is_themed_param_(search_terms_data.NTPIsThemedParam()) {}
SearchTermsDataSnapshot::~SearchTermsDataSnapshot() {
@@ -283,11 +278,6 @@ std::string SearchTermsDataSnapshot::GetSearchClient() const {
return search_client_;
}
-std::string SearchTermsDataSnapshot::ForceInstantResultsParam(
- bool for_prerender) const {
- return force_instant_results_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') | chrome/browser/search/search.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698