DescriptionDevTools: introduce RecordEnumeratedHistogram method.
ATM there is a recordActionUMA method in devtools_ui_bindings which is
responsible for UMA metrics. However, the method hard-codes the bucket
sizes, which is unfortunate.
The patch introduces new RecordEnumeratedHistogram method which gets
bucket sizes as an argument.
R=dgozman
BUG=468026
Committed: https://crrev.com/fc94461996881d54083195fab9721fb738bb83f4
Cr-Commit-Position: refs/heads/master@{#324219}
Patch Set 1 #Patch Set 2 : add checks #Patch Set 3 : register binding #
Total comments: 2
Patch Set 4 : add BadMessageRecieved to frontend_host #Patch Set 5 : rename constant #
Total comments: 2
Patch Set 6 : update histograms.xml #Patch Set 7 : fix styling #
Total comments: 12
Patch Set 8 : address @isherman comments #Patch Set 9 : make it work #
Total comments: 4
Patch Set 10 : fix last nits #Patch Set 11 : rebaseline #Messages
Total messages: 32 (10 generated)
|