Add UMA: - UseCounter for per-page API usage stats. - Total share counter. - Stats on user acceptance / cancellation.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/fdbed09a1c4a58bd823a99c9fa0b4597be824300 commit fdbed09a1c4a58bd823a99c9fa0b4597be824300 Author: mgiuca <mgiuca@chromium.org> Date: Thu Aug 11 05:24:35 2016 Added UseCounter for navigator.share (WebShareShare). BUG= 636288 Review-Url: https://codereview.chromium.org/2234723002 Cr-Commit-Position: refs/heads/master@{#411273} [modify] https://crrev.com/fdbed09a1c4a58bd823a99c9fa0b4597be824300/third_party/WebKit/Source/core/frame/UseCounter.h [modify] https://crrev.com/fdbed09a1c4a58bd823a99c9fa0b4597be824300/third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp [modify] https://crrev.com/fdbed09a1c4a58bd823a99c9fa0b4597be824300/tools/metrics/histograms/histograms.xml
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/e419b525a443f33ccc8315783ca7806b2ba8e63a commit e419b525a443f33ccc8315783ca7806b2ba8e63a Author: mgiuca <mgiuca@chromium.org> Date: Thu Sep 08 09:10:11 2016 Rework use counter for navigator.share to use [MeasureAs]. Use automatic functionality instead of manually calling UseCounter::count. BUG= 636288 Review-Url: https://codereview.chromium.org/2250613002 Cr-Commit-Position: refs/heads/master@{#417228} [modify] https://crrev.com/e419b525a443f33ccc8315783ca7806b2ba8e63a/third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp [modify] https://crrev.com/e419b525a443f33ccc8315783ca7806b2ba8e63a/third_party/WebKit/Source/modules/webshare/NavigatorShare.idl
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/c39517b04b69a9eb356f913b6b5da3a98f328fcc commit c39517b04b69a9eb356f913b6b5da3a98f328fcc Author: mgiuca <mgiuca@chromium.org> Date: Thu Sep 15 02:25:35 2016 Add detailed histograms for navigator.share. WebShare.ApiCount is needed (in addition to the existing use counter) to get the total number of calls to the API, not de-duplicated per page view. BUG= 636288 Review-Url: https://codereview.chromium.org/2228403002 Cr-Commit-Position: refs/heads/master@{#418760} [modify] https://crrev.com/c39517b04b69a9eb356f913b6b5da3a98f328fcc/chrome/android/java/src/org/chromium/chrome/browser/webshare/ShareServiceImpl.java [modify] https://crrev.com/c39517b04b69a9eb356f913b6b5da3a98f328fcc/tools/metrics/histograms/histograms.xml
Comment 1 by bugdroid1@chromium.org
, Aug 11 2016