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

Unified Diff: chrome/browser/prerender/prerender_field_trial.h

Issue 591313005: Provide a way to specify in Finch trials to disable prerender local (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/prerender/prerender_field_trial.h
diff --git a/chrome/browser/prerender/prerender_field_trial.h b/chrome/browser/prerender/prerender_field_trial.h
index e4a1a285367554f936b166ee1229843f5786d3e2..e7d91f6aecf72c8c4678ce3f350029870ed8662e 100644
--- a/chrome/browser/prerender/prerender_field_trial.h
+++ b/chrome/browser/prerender/prerender_field_trial.h
@@ -34,6 +34,11 @@ bool IsLocalPredictorEnabled();
// settings and configuration.
bool DisableLocalPredictorBasedOnSyncAndConfiguration(Profile* profile);
+// Returns whether or not the local predictor is temporarily disabled, due
+// to network predictive action settings and current network.
+bool TemporarilyDisableLocalPredictorBasedOnPreferencesAndNetwork(
jkarlin 2014/09/23 14:54:03 TemporarilyDisable makes it sound like the functio
tburkard 2014/09/24 15:15:34 Done.
+ Profile* profile);
+
// Returns true iff the LoggedIn Predictor is enabled.
bool IsLoggedInPredictorEnabled();
« no previous file with comments | « no previous file | chrome/browser/prerender/prerender_field_trial.cc » ('j') | chrome/browser/prerender/prerender_field_trial.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698