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

Unified Diff: chrome/browser/prefetch/prefetch_field_trial.cc

Issue 142473003: Binds prefetching to the predictive networking privacy option. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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/prefetch/prefetch_field_trial.cc
diff --git a/chrome/browser/prefetch/prefetch_field_trial.cc b/chrome/browser/prefetch/prefetch_field_trial.cc
index 5aeef0b00adc78fc727d28c2fe64eb4bad1f324d..d88e0c79226633a84e1ce1fb3745af78e9304984 100644
--- a/chrome/browser/prefetch/prefetch_field_trial.cc
+++ b/chrome/browser/prefetch/prefetch_field_trial.cc
@@ -11,7 +11,7 @@
namespace prefetch {
-bool IsPrefetchEnabled() {
+bool IsPrefetchFieldTrialEnabled() {
std::string experiment = base::FieldTrialList::FindFullName("Prefetch");
tburkard 2014/01/27 12:26:34 I guess this does not have to be called on the UI
jkarlin 2014/01/27 13:49:00 Looking at field_trial.h it says that it should on
if (StartsWithASCII(experiment, "ExperimentYes", false))
return true;

Powered by Google App Engine
This is Rietveld 408576698