DescriptionRecord document mode histogram in UMA on every upload.
* Refactors the code to allow adding metrics as part of metrics provider
interface
* Implements a function in android_metrics_provider to record a new
histogram which records the current document mode. This is needed for
better analysis in Hera. I am adding a new histogram because the
semantics are a bit different from DocumentActivity.RunningMode. The
previous histogram is used only to record eligible devices that have
manually opted in or out. The new histogram will record for all devices
regardless of whether they could possibly be in document mode.
BUG=418642
Committed: https://crrev.com/191028987824922561697fe1cf7056164495dfa9
Cr-Commit-Position: refs/heads/master@{#300375}
Patch Set 1 #Patch Set 2 : Remove unused includes #
Total comments: 1
Patch Set 3 : Adding chrome on android recording of document mode #Patch Set 4 : Style fixes #
Total comments: 13
Patch Set 5 : Add histogram data and address comments #Patch Set 6 : Switch to using RecordGeneralMetrics #
Total comments: 1
Patch Set 7 : Fix comment #Messages
Total messages: 17 (4 generated)
|