summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-14 21:21:01 +0000
committermbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-14 21:21:01 +0000
commit30b3588799234cbd615cd9a3e4149ab855eb7378 (patch)
tree9128bfb70266037fa4d53e381bfc189a64f2b8ec
parentcc7956efd67215b509ec3abcbffe2f8367933a37 (diff)
downloadchromium_src-30b3588799234cbd615cd9a3e4149ab855eb7378.zip
chromium_src-30b3588799234cbd615cd9a3e4149ab855eb7378.tar.gz
chromium_src-30b3588799234cbd615cd9a3e4149ab855eb7378.tar.bz2
Add abandoned metric for spdy.
BUG=none TEST=none Review URL: http://codereview.chromium.org/2847001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49728 0039d316-1c4b-4281-b951-d872f2087c98
-rwxr-xr-xchrome/renderer/render_view.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc
index 29f0f1a..5a43efe 100755
--- a/chrome/renderer/render_view.cc
+++ b/chrome/renderer/render_view.cc
@@ -4687,6 +4687,9 @@ void RenderView::DumpLoadHistograms() const {
static bool use_spdy_histogram(FieldTrialList::Find("SpdyImpact") &&
!FieldTrialList::Find("SpdyImpact")->group_name().empty());
if (use_spdy_histogram && navigation_state->was_npn_negotiated()) {
+ UMA_HISTOGRAM_ENUMERATION(
+ FieldTrial::MakeName("PLT.Abandoned", "SpdyImpact"),
+ abandoned_page ? 1 : 0, 2);
switch (load_type) {
case NavigationState::LINK_LOAD_NORMAL:
PLT_HISTOGRAM(FieldTrial::MakeName(