Add UKM metric tracking for various page load metric observers

Desktop / Chromium - Bryan McQuade [chromium.org] - 13 July 2017 21:44 EDT

Bug: 739389, 739384 Change-Id: I8637ce1ad693f566f738058e7fef07d025109d72 Reviewed-on: https://chromium-review.googlesource.com/563884 Commit-Queue: Bryan McQuade

68f8319 Add UKM metric tracking for various page load metric observers.
.../document_write_page_load_metrics_observer.cc | 61 ++++++++++++--
.../document_write_page_load_metrics_observer.h | 8 ++
...nt_write_page_load_metrics_observer_unittest.cc | 53 +++++++++---
.../from_gws_page_load_metrics_observer.cc | 17 ++++
.../from_gws_page_load_metrics_observer.h | 4 +
...from_gws_page_load_metrics_observer_unittest.cc | 95 ++++++++++++++++++----
.../service_worker_page_load_metrics_observer.cc | 18 ++++
.../service_worker_page_load_metrics_observer.h | 4 +
...e_worker_page_load_metrics_observer_unittest.cc | 16 +++-
.../subresource_filter_metrics_observer.cc | 25 ++++++
.../subresource_filter_metrics_observer.h | 7 ++
...subresource_filter_metrics_observer_unittest.cc | 66 +++++++++++++--
services/metrics/public/cpp/ukm_recorder.h | 8 ++
tools/metrics/ukm/ukm.xml | 68 ++++++++++++++++
14 files changed, 412 insertions(+), 38 deletions(-)

Upstream: git.chromium.org


  • Share