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

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

Issue 23506038: Add options to disable each of the two aspects of the prerender service (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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
===================================================================
--- chrome/browser/prerender/prerender_field_trial.h (revision 222044)
+++ chrome/browser/prerender/prerender_field_trial.h (working copy)
@@ -42,6 +42,11 @@
// provided.
bool ShouldQueryPrerenderService(Profile* profile);
+// Indicates whether we should query the prerender service for the current URL
+// and candidate URLs, respectively.
+bool ShouldQueryPrerenderServiceForCurrentURL();
+bool ShouldQueryPrerenderServiceForCandidateURLs();
+
// Returns the URL prefix to be used for the prerender service. The only thing
// that will be appended is the urlencoded query json.
std::string GetPrerenderServiceURLPrefix();

Powered by Google App Engine
This is Rietveld 408576698