Metrics for lockScreen.data API

Desktop / Chromium - Toni Barzic [google.com] - 10 August 2017 18:56 EDT

Adds metrics about data item size, operation results and operation duration for lockScreen.data API functions.

BUG=732506

Change-Id: I31bc95135457aa115bd58a18497943a0f0e0c70e Reviewed-on: https://chromium-review.googlesource.com/602699 Commit-Queue: Toni Barzic

85266c9 Metrics for lockScreen.data API
.../browser/api/lock_screen_data/data_item.cc | 7 ++
.../api/lock_screen_data/lock_screen_data_api.cc | 18 ++++
.../lock_screen_data/lock_screen_item_storage.cc | 102 +++++++++++++++++++--
.../lock_screen_data/lock_screen_item_storage.h | 22 +++++
.../api/lock_screen_data/operation_result.h | 18 ++--
tools/metrics/histograms/enums.xml | 10 ++
tools/metrics/histograms/histograms.xml | 67 ++++++++++++++
7 files changed, 229 insertions(+), 15 deletions(-)

Upstream: git.chromium.org


  • Share