Add UKM metric to browser-side UseCounter

Desktop / Chromium - Luna Lu [chromium.org] - 6 November 2017 20:10 EST

Currently no feature has been opt-in.

For more details, please see https://docs.google.com/document/d/1XElFzMQ-b2LfGs2tx6ltQLhjp4PP-kGMXYdcX8VlXDQ/edit#

Bug: 706389 Change-Id: I1e826e7b017edb82f8052d279ae7136b389ce345 Reviewed-on: https://chromium-review.googlesource.com/713960

b9740cb9c5a4 Add UKM metric to browser-side UseCounter
chrome/browser/BUILD.gn | 2 ++
chrome/browser/page_load_metrics/observers/OWNERS | 4 ++++
.../observers/use_counter/ukm_features.cc | 15 ++++++++++++++
.../observers/use_counter/ukm_features.h | 23 ++++++++++++++++++++++
.../use_counter_page_load_metrics_observer.cc | 13 ++++++++++--
.../use_counter_page_load_metrics_observer.h | 3 ++-
.../page_load_metrics/page_load_metrics_observer.h | 7 +++----
.../browser/page_load_metrics/page_load_tracker.cc | 3 ++-
services/metrics/public/cpp/ukm_recorder.h | 2 ++
tools/metrics/ukm/OWNERS | 2 +-
tools/metrics/ukm/PRIVACY_OWNERS | 8 ++++++++
tools/metrics/ukm/ukm.xml | 15 ++++++++++++++
12 files changed, 88 insertions(+), 9 deletions(-)

Upstream: git.chromium.org


  • Share