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

Unified Diff: components/omnibox/browser/history_url_provider.cc

Issue 1224083010: Enable Answers in Suggest always. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to comment Created 5 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
Index: components/omnibox/browser/history_url_provider.cc
diff --git a/components/omnibox/browser/history_url_provider.cc b/components/omnibox/browser/history_url_provider.cc
index 7d017352aa130c0cd913c8bb54a78697210a1289..2140fbd145be4a8a2f3c49af35a729ed20defbbf 100644
--- a/components/omnibox/browser/history_url_provider.cc
+++ b/components/omnibox/browser/history_url_provider.cc
@@ -278,7 +278,6 @@ class SearchTermsDataSnapshot : public SearchTermsData {
std::string GetApplicationLocale() const override;
base::string16 GetRlzParameterValue(bool from_app_list) const override;
std::string GetSearchClient() const override;
- bool EnableAnswersInSuggest() const override;
bool IsShowingSearchTermsOnSearchResultsPages() const override;
std::string InstantExtendedEnabledParam(bool for_search) const override;
std::string ForceInstantResultsParam(bool for_prerender) const override;
@@ -290,7 +289,6 @@ class SearchTermsDataSnapshot : public SearchTermsData {
std::string application_locale_;
base::string16 rlz_parameter_value_;
std::string search_client_;
- bool enable_answers_in_suggest_;
bool is_showing_search_terms_on_search_results_pages_;
std::string instant_extended_enabled_param_;
std::string instant_extended_enabled_param_for_search_;
@@ -308,7 +306,6 @@ SearchTermsDataSnapshot::SearchTermsDataSnapshot(
application_locale_(search_terms_data.GetApplicationLocale()),
rlz_parameter_value_(search_terms_data.GetRlzParameterValue(false)),
search_client_(search_terms_data.GetSearchClient()),
- enable_answers_in_suggest_(search_terms_data.EnableAnswersInSuggest()),
is_showing_search_terms_on_search_results_pages_(
search_terms_data.IsShowingSearchTermsOnSearchResultsPages()),
instant_extended_enabled_param_(
@@ -343,10 +340,6 @@ std::string SearchTermsDataSnapshot::GetSearchClient() const {
return search_client_;
}
-bool SearchTermsDataSnapshot::EnableAnswersInSuggest() const {
- return enable_answers_in_suggest_;
-}
-
bool SearchTermsDataSnapshot::IsShowingSearchTermsOnSearchResultsPages() const {
return is_showing_search_terms_on_search_results_pages_;
}
« no previous file with comments | « chrome/browser/search_engines/ui_thread_search_terms_data.cc ('k') | components/omnibox/browser/omnibox_field_trial.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698