summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-02 13:18:30 +0000
committercbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-02 13:18:30 +0000
commit25b87076ebf86fac0b63e00673e4774bd0a64628 (patch)
treec51cbc08502e5336259e5d8a07475fcce98edc9b
parentf8995301c3b29902fdc87ca0b05529789ce62b7b (diff)
downloadchromium_src-25b87076ebf86fac0b63e00673e4774bd0a64628.zip
chromium_src-25b87076ebf86fac0b63e00673e4774bd0a64628.tar.gz
chromium_src-25b87076ebf86fac0b63e00673e4774bd0a64628.tar.bz2
Always record Prerender.TimeUntilUsed.
BUG=None TEST=Start Chrome with prerender explicitly enabled, use a prerendered page, ensure that Prerender.TimeUntilUsed shows up in about:histograms Review URL: http://codereview.chromium.org/6596079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76531 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/prerender/prerender_manager.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/prerender/prerender_manager.cc b/chrome/browser/prerender/prerender_manager.cc
index 42efb67..3c2b603 100644
--- a/chrome/browser/prerender/prerender_manager.cc
+++ b/chrome/browser/prerender/prerender_manager.cc
@@ -227,9 +227,7 @@ void PrerenderManager::RecordPerceivedPageLoadTime(base::TimeDelta pplt) {
}
void PrerenderManager::RecordTimeUntilUsed(base::TimeDelta time_until_used) {
- if (mode_ == PRERENDER_MODE_EXPERIMENT_PRERENDER_GROUP) {
- UMA_HISTOGRAM_TIMES("Prerender.TimeUntilUsed", time_until_used);
- }
+ UMA_HISTOGRAM_TIMES("Prerender.TimeUntilUsed", time_until_used);
}
PrerenderContents* PrerenderManager::FindEntry(const GURL& url) {