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

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

Issue 1224083010: Enable Answers in Suggest always. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android compile issue 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: chrome/browser/search_engines/ui_thread_search_terms_data.cc
diff --git a/chrome/browser/search_engines/ui_thread_search_terms_data.cc b/chrome/browser/search_engines/ui_thread_search_terms_data.cc
index 1ccd09aac8b7e23c873fb9355b105ac549cc0acc..8a166599d083591646f0ece06a3fce9bef67f17b 100644
--- a/chrome/browser/search_engines/ui_thread_search_terms_data.cc
+++ b/chrome/browser/search_engines/ui_thread_search_terms_data.cc
@@ -119,16 +119,10 @@ std::string UIThreadSearchTermsData::GetSuggestRequestIdentifier() const {
BrowserThread::CurrentlyOn(BrowserThread::UI));
#if defined(OS_ANDROID)
if (ui::GetDeviceFormFactor() == ui::DEVICE_FORM_FACTOR_PHONE) {
Peter Kasting 2015/07/10 18:33:22 Nit: Remove {}
Justin Donnelly 2015/07/10 19:15:03 Done.
- return OmniboxFieldTrial::EnableAnswersInSuggest() ?
- "chrome-mobile-ext-ansg" : "chrome-mobile-ext";
+ return "chrome-mobile-ext-ansg";
}
#endif
- return OmniboxFieldTrial::EnableAnswersInSuggest() ?
- "chrome-ext-ansg" : "chrome-ext";
-}
-
-bool UIThreadSearchTermsData::EnableAnswersInSuggest() const {
- return OmniboxFieldTrial::EnableAnswersInSuggest();
+ return "chrome-ext-ansg";
}
bool UIThreadSearchTermsData::IsShowingSearchTermsOnSearchResultsPages() const {
« no previous file with comments | « chrome/browser/search_engines/ui_thread_search_terms_data.h ('k') | components/omnibox/browser/history_url_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698