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

Unified Diff: chrome/browser/search/search.cc

Issue 2143953002: Remove search::ShouldPrefetchSearchResultsOnSRP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add TODO Created 4 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/search.cc
diff --git a/chrome/browser/search/search.cc b/chrome/browser/search/search.cc
index 413a4a7999f633160c7c007bd18a6c037e885010..28b800583cb26385033d89a3a39780bcf6283a7d 100644
--- a/chrome/browser/search/search.cc
+++ b/chrome/browser/search/search.cc
@@ -52,7 +52,6 @@ namespace search {
namespace {
-const char kPrefetchSearchResultsOnSRP[] = "prefetch_results_srp";
const char kPrerenderInstantUrlOnOmniboxFocus[] =
"prerender_instant_url_on_omnibox_focus";
@@ -611,12 +610,6 @@ InstantSupportState GetInstantSupportStateFromNavigationEntry(
return StringToInstantSupportState(value);
}
-bool ShouldPrefetchSearchResultsOnSRP() {
- FieldTrialFlags flags;
- return GetFieldTrialInfo(&flags) && GetBoolValueForFlagWithDefault(
- kPrefetchSearchResultsOnSRP, false, flags);
-}
-
bool ShouldUseAltInstantURL() {
FieldTrialFlags flags;
return GetFieldTrialInfo(&flags) && GetBoolValueForFlagWithDefault(

Powered by Google App Engine
This is Rietveld 408576698