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

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: fix test 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..c7c32105793382041b45edfa0b51cd58d4da92a6 100644
--- a/chrome/browser/prerender/prerender_field_trial.h
+++ b/chrome/browser/prerender/prerender_field_trial.h
@@ -32,7 +32,11 @@ bool IsLocalPredictorEnabled();
// Indicates whether to disable the local predictor due to unencrypted sync
// settings and configuration.
-bool DisableLocalPredictorBasedOnSyncAndConfiguration(Profile* profile);
+bool ShouldDisableLocalPredictorBasedOnSyncAndConfiguration(Profile* profile);
+
+// Returns whether or not the local predictor is temporarily disabled, due
+// to network predictive action settings and current network.
+bool ShouldDisableLocalPredictorDueToPreferencesAndNetwork(Profile* profile);
// Returns true iff the LoggedIn Predictor is enabled.
bool IsLoggedInPredictorEnabled();
« no previous file with comments | « chrome/browser/prerender/prerender_browsertest.cc ('k') | chrome/browser/prerender/prerender_field_trial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698