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

Unified Diff: chrome/renderer/page_load_histograms.cc

Issue 6966016: Handle <link rel=prerender> in chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tone down the over-aggressive search and replace... Created 9 years, 7 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/prerender/prerender_manager.cc ('k') | chrome/test/data/prerender/prerender_infinite_a.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/page_load_histograms.cc
diff --git a/chrome/renderer/page_load_histograms.cc b/chrome/renderer/page_load_histograms.cc
index 84365e8a460297832c44c88ecfd4bd68c736aab1..5581afa387f51bc339c5dfb7d6f110389ec88c65 100644
--- a/chrome/renderer/page_load_histograms.cc
+++ b/chrome/renderer/page_load_histograms.cc
@@ -306,6 +306,9 @@ void PageLoadHistograms::Dump(WebFrame* frame) {
}
// Histograms to determine if content prefetching has an impact on PLT.
+ // TODO(gavinp): Right now the prerendering and the prefetching field trials
+ // are mixed together. If we continue to launch prerender with
+ // link rel=prerender, then we should separate them.
static const bool prefetching_fieldtrial =
base::FieldTrialList::TrialExists("Prefetch");
if (prefetching_fieldtrial) {
« no previous file with comments | « chrome/browser/prerender/prerender_manager.cc ('k') | chrome/test/data/prerender/prerender_infinite_a.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698