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

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

Issue 330063004: Various Prerender Service / Prerender LocalPredictor related changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: davidben feedback Created 6 years, 6 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
« no previous file with comments | « chrome/browser/prefetch/prefetch_field_trial.cc ('k') | chrome/browser/prerender/prerender_field_trial.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 038f7343cdd0704d3d1f05adcab1b6fb97cc0d6e..ef7c6e316adf93d8db0fc2f275bb0c8be4f89514 100644
--- a/chrome/browser/prerender/prerender_field_trial.h
+++ b/chrome/browser/prerender/prerender_field_trial.h
@@ -48,6 +48,9 @@ bool IsLocalPredictorPrerenderLaunchEnabled();
// is irrelevant.
bool IsLocalPredictorPrerenderAlwaysControlEnabled();
+// Returns true if the local predictor should prefetch rather than prerender.
+bool IsLocalPredictorPrerenderPrefetchEnabled();
+
// Returns true if we should query the prerender service for the profile
// provided.
bool ShouldQueryPrerenderService(Profile* profile);
@@ -79,6 +82,10 @@ int GetLocalPredictorPrerenderPriorityHalfLifeTimeSeconds();
// may maintain.
int GetLocalPredictorMaxConcurrentPrerenders();
+// Returns the maximum number of concurrent prerenders the local predictor
+// may launch concurrently.
+int GetLocalPredictorMaxLaunchPrerenders();
+
// The following functions return whether certain LocalPredictor checks should
// be skipped, as indicated by the name.
bool SkipLocalPredictorFragment();
« no previous file with comments | « chrome/browser/prefetch/prefetch_field_trial.cc ('k') | chrome/browser/prerender/prerender_field_trial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698