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

Issue 1377223002: Add page load abort metrics to PageLoadMetrics system (Closed)

Created:
5 years, 2 months ago by Charlie Harrison
Modified:
5 years, 2 months ago
CC:
chromium-reviews, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, asvitkine+watch_chromium.org, droger+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@plm_backgrounded_master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add page load abort metrics to PageLoadMetrics system BUG= Committed: https://crrev.com/ebf0bc25277c6a656337e442060fc51dfc201048 Cr-Commit-Position: refs/heads/master@{#352053}

Patch Set 1 #

Patch Set 2 : Add unit tests #

Total comments: 6

Patch Set 3 : Added Failed provisional load event + added a unit test #

Patch Set 4 : Randy review + differentiate between background/foreground layouts #

Total comments: 11

Patch Set 5 : more enum name changes + more comments! #

Total comments: 1

Patch Set 6 : updated enum comment per Alexei #

Patch Set 7 : remove TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -6 lines) Patch
M components/page_load_metrics/browser/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/page_load_metrics/browser/metrics_web_contents_observer.h View 1 2 3 4 5 3 chunks +33 lines, -0 lines 0 comments Download
M components/page_load_metrics/browser/metrics_web_contents_observer.cc View 1 2 3 4 5 6 3 chunks +23 lines, -6 lines 0 comments Download
M components/page_load_metrics/browser/metrics_web_contents_observer_unittest.cc View 1 2 3 4 2 chunks +122 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (5 generated)
Charlie Harrison
Few questions: which net::Errors should we filter out? Should we just whitelist ERR_ABORTED? Also, take ...
5 years, 2 months ago (2015-09-30 22:22:52 UTC) #2
Charlie Harrison
Adding Randy also cause I've been giving lots to Tuttle.
5 years, 2 months ago (2015-10-01 14:25:36 UTC) #4
Bryan McQuade
basically looks good to me, thanks! just a few questions. https://codereview.chromium.org/1377223002/diff/20001/components/page_load_metrics/browser/metrics_web_contents_observer.cc File components/page_load_metrics/browser/metrics_web_contents_observer.cc (right): https://codereview.chromium.org/1377223002/diff/20001/components/page_load_metrics/browser/metrics_web_contents_observer.cc#newcode146 ...
5 years, 2 months ago (2015-10-01 14:57:38 UTC) #5
Charlie Harrison
https://codereview.chromium.org/1377223002/diff/20001/components/page_load_metrics/browser/metrics_web_contents_observer.cc File components/page_load_metrics/browser/metrics_web_contents_observer.cc (right): https://codereview.chromium.org/1377223002/diff/20001/components/page_load_metrics/browser/metrics_web_contents_observer.cc#newcode146 components/page_load_metrics/browser/metrics_web_contents_observer.cc:146: UMA_HISTOGRAM_ENUMERATION("PageLoad.EventCounts", event, EVENT_COUNT); On 2015/10/01 14:57:38, Bryan McQuade wrote: ...
5 years, 2 months ago (2015-10-01 15:26:20 UTC) #6
Bryan McQuade
LGTM pending addition of adding a case for net::ERR_ABORTED that you proposed.
5 years, 2 months ago (2015-10-01 15:48:00 UTC) #7
Randy Smith (Not in Mondays)
https://codereview.chromium.org/1377223002/diff/20001/components/page_load_metrics/browser/metrics_web_contents_observer.h File components/page_load_metrics/browser/metrics_web_contents_observer.h (right): https://codereview.chromium.org/1377223002/diff/20001/components/page_load_metrics/browser/metrics_web_contents_observer.h#newcode29 components/page_load_metrics/browser/metrics_web_contents_observer.h:29: STARTED_PROVISIONAL_LOAD, I'd like to have comments on these values ...
5 years, 2 months ago (2015-10-01 16:07:39 UTC) #8
Charlie Harrison
Changed some names around, let me know what you think. https://codereview.chromium.org/1377223002/diff/20001/components/page_load_metrics/browser/metrics_web_contents_observer.h File components/page_load_metrics/browser/metrics_web_contents_observer.h (right): https://codereview.chromium.org/1377223002/diff/20001/components/page_load_metrics/browser/metrics_web_contents_observer.h#newcode29 ...
5 years, 2 months ago (2015-10-01 16:59:55 UTC) #9
Randy Smith (Not in Mondays)
LGTM with below comments (except for "suggestion", which you can do what you want with, ...
5 years, 2 months ago (2015-10-01 17:18:09 UTC) #10
Charlie Harrison
Thanks for the feedback! https://codereview.chromium.org/1377223002/diff/60001/components/page_load_metrics/browser/metrics_web_contents_observer.h File components/page_load_metrics/browser/metrics_web_contents_observer.h (right): https://codereview.chromium.org/1377223002/diff/60001/components/page_load_metrics/browser/metrics_web_contents_observer.h#newcode31 components/page_load_metrics/browser/metrics_web_contents_observer.h:31: // A provisional load is ...
5 years, 2 months ago (2015-10-01 17:58:17 UTC) #11
Charlie Harrison
@asvitkine PTAL
5 years, 2 months ago (2015-10-01 22:05:53 UTC) #13
Charlie Harrison
On 2015/10/01 22:05:53, csharrison wrote: > @asvitkine PTAL @asvitkine only need review for histograms.xml
5 years, 2 months ago (2015-10-01 22:07:57 UTC) #14
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/1377223002/diff/80001/components/page_load_metrics/browser/metrics_web_contents_observer.h File components/page_load_metrics/browser/metrics_web_contents_observer.h (right): https://codereview.chromium.org/1377223002/diff/80001/components/page_load_metrics/browser/metrics_web_contents_observer.h#newcode28 components/page_load_metrics/browser/metrics_web_contents_observer.h:28: // If you add or remove elements from ...
5 years, 2 months ago (2015-10-02 14:57:15 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1377223002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1377223002/120001
5 years, 2 months ago (2015-10-02 15:14:35 UTC) #18
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 2 months ago (2015-10-02 16:46:08 UTC) #19
commit-bot: I haz the power
5 years, 2 months ago (2015-10-02 16:46:40 UTC) #20
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/ebf0bc25277c6a656337e442060fc51dfc201048
Cr-Commit-Position: refs/heads/master@{#352053}

Powered by Google App Engine
This is Rietveld 408576698