Record first layout time UMA metric in PageLoadHistograms.
commit973721b2beff40e8fd2fd876e826e3cb1176f4f8
authorbmcquade <bmcquade@chromium.org>
Fri, 10 Jul 2015 14:08:42 +0000 (10 07:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 10 Jul 2015 14:09:12 +0000 (10 14:09 +0000)
tree9911ea07175f7aa82801e254fc1ccd3ebad0c05f
parentb6c5e43652ad8b9fb0b098c66c78a29bb3b987e8
Record first layout time UMA metric in PageLoadHistograms.

Due to the issue described in crbug.com/382542, many histograms
intended to be logged by PageLoadHistograms do not get logged,
because fast shutdown kills processes before they get a chance
to log.

This patch logs first layout metrics earlier in the page life cycle,
in order to avoid losing these histograms.

BUG=507790
R=jochen,pmeenan,rdsmith

Review URL: https://codereview.chromium.org/1230513002

Cr-Commit-Position: refs/heads/master@{#338286}
chrome/renderer/page_load_histograms.cc
chrome/renderer/page_load_histograms.h