Chromium Code Reviews| Index: tools/metrics/histograms/histograms.xml |
| diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
| index b72fb164eaa0fcecad8b508e5ab8699d11b606f1..565ebeb760f3410a913f26566c75fc7e5fe0f0b2 100644 |
| --- a/tools/metrics/histograms/histograms.xml |
| +++ b/tools/metrics/histograms/histograms.xml |
| @@ -2793,6 +2793,30 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
| </summary> |
| </histogram> |
| +<histogram name="Bluetooth.Web.GetPrimaryService.Outcome" |
| + enum="WebBluetoothGetPrimaryServiceOutcome"> |
| + <owner>jyasskin@chromium.org</owner> |
| + <owner>ortuno@chromium.org</owner> |
| + <owner>scheib@chromium.org</owner> |
| + <summary> |
| + Records the result of a GATTServer.getPrimaryService() call. Used to |
| + understand what errors developers are getting so we can target efforts |
| + toward the most common ones. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="Bluetooth.Web.GetPrimaryService.Services" |
| + enum="GATTServiceHash"> |
| + <owner>jyasskin@chromium.org</owner> |
| + <owner>ortuno@chromium.org</owner> |
| + <owner>scheib@chromium.org</owner> |
| + <summary> |
| + Records what GATT Services are used when connected. This will help us know |
|
Jeffrey Yasskin
2015/08/12 18:23:11
Mention this is a hash, like for RequestDevice.
ortuno
2015/08/12 18:27:24
Done.
|
| + if we should build an API for specific services rather than a general |
| + Bluetooth API. |
| + </summary> |
| +</histogram> |
| + |
| <histogram name="Bluetooth.Web.RequestDevice.Filters.Count" units="filters"> |
| <owner>jyasskin@chromium.org</owner> |
| <owner>ortuno@chromium.org</owner> |
| @@ -71754,6 +71778,12 @@ To add a new entry, add it with any value and run test to compute valid value. |
| <int value="5" label="Characteristic.writeValue()"/> |
| </enum> |
| +<enum name="WebBluetoothGetPrimaryServiceOutcome" type="int"> |
| + <int value="0" label="Success"/> |
| + <int value="1" label="Device no longer in range."/> |
| + <int value="2" label="No services with provided UUID."/> |
| +</enum> |
| + |
| <enum name="WebBluetoothRequestDeviceOutcome" type="int"> |
| <int value="0" label="Success"/> |
| <int value="1" label="No Bluetooth adapter"/> |