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

Unified Diff: ios/chrome/browser/search_engines/ui_thread_search_terms_data.cc

Issue 1543203002: Remove a variety of no-longer-used query params. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 4 years, 12 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 | « ios/chrome/browser/search_engines/ui_thread_search_terms_data.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/search_engines/ui_thread_search_terms_data.cc
diff --git a/ios/chrome/browser/search_engines/ui_thread_search_terms_data.cc b/ios/chrome/browser/search_engines/ui_thread_search_terms_data.cc
index d6e92f6a68603d09ff80a1a02368433eed69f511..ab06488b1af1507764e32c3d60ea80a8952b638d 100644
--- a/ios/chrome/browser/search_engines/ui_thread_search_terms_data.cc
+++ b/ios/chrome/browser/search_engines/ui_thread_search_terms_data.cc
@@ -91,12 +91,6 @@ std::string UIThreadSearchTermsData::GetSuggestRequestIdentifier() const {
return "chrome-ext-ansg";
}
-bool UIThreadSearchTermsData::IsShowingSearchTermsOnSearchResultsPages() const {
- DCHECK(thread_checker_.CalledOnValidThread());
- return search::IsInstantExtendedAPIEnabled() &&
- search::IsQueryExtractionEnabled();
-}
-
std::string UIThreadSearchTermsData::InstantExtendedEnabledParam(
bool for_search) const {
DCHECK(thread_checker_.CalledOnValidThread());
@@ -109,18 +103,6 @@ std::string UIThreadSearchTermsData::ForceInstantResultsParam(
return search::ForceInstantResultsParam(for_prerender);
}
-int UIThreadSearchTermsData::OmniboxStartMargin() const {
- DCHECK(thread_checker_.CalledOnValidThread());
- // iOS has not InstantService.
- return search::kDisableStartMargin;
-}
-
-std::string UIThreadSearchTermsData::NTPIsThemedParam() const {
- DCHECK(thread_checker_.CalledOnValidThread());
- // iOS does not supports themed NTP.
- return std::string();
-}
-
std::string UIThreadSearchTermsData::IOSWebViewTypeParam() const {
DCHECK(thread_checker_.CalledOnValidThread());
std::string param = experimental_flags::GetWKWebViewSearchParams();
« no previous file with comments | « ios/chrome/browser/search_engines/ui_thread_search_terms_data.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698