Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(429)

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 2912633002: bluetooth: macOS: Adding histograms for NSError values (Closed)
Patch Set: . Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « tools/metrics/histograms/enums.xml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 8175033a9fc2daf4e31daee616ec6363b9e08221..d35614e0730c0cc70b7344b15893bd9cdaf83a6a 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -6213,6 +6213,19 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram base="true" name="Bluetooth.MacOS.Errors"
+ enum="MacOSBluetoothOperationsResult">
+<!-- Name completed by histogram_suffixes name="WebBluetoothMacOSAPIs" -->
+
+ <owner>scheib@chromium.org</owner>
+ <owner>device-dev@chromium.org</owner>
+ <summary>
+ Records how many times each macOS GATT error has occured. The results will
+ be used to determine how commun this errors are and if we need to provide
+ better error messages to the users.
+ </summary>
+</histogram>
+
<histogram name="Bluetooth.PairingMethod" enum="BluetoothPairingMethod">
<owner>keybuk@chromium.org</owner>
<summary>
@@ -100017,6 +100030,24 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<affected-histogram name="WebApk.ShellApkVersion"/>
</histogram_suffixes>
+<histogram_suffixes name="WebBluetoothMacOSAPIs" separator=".">
+ <suffix name="DidFailToConnectToPeripheral"
+ label="Failed to connect to peripheral"/>
+ <suffix name="DidDisconnectPeripheral" label="Disconnected from peripheral"/>
+ <suffix name="DidDiscoverPrimaryServices"
+ label="Discovered primary services"/>
+ <suffix name="DidDiscoverCharacteristics" label="Discovered characteristics"/>
+ <suffix name="DidUpdateValue" label="Updated value for characteristic"/>
+ <suffix name="DidWriteValue" label="Wrote value for characteristic"/>
+ <suffix name="DidUpdateNotificationState" label="Updated notification state"/>
+ <suffix name="DidDiscoverDescriptors" label="Discovered descriptors"/>
+ <suffix name="DidUpdateValueForDescriptor"
+ label="Updated value for descriptor"/>
+ <suffix name="DidWriteValueForDescriptor"
+ label="Wrote value value for descriptor"/>
+ <affected-histogram name="Bluetooth.MacOS.Errors"/>
+</histogram_suffixes>
+
<histogram_suffixes name="WebFontFamily" separator="_">
<suffix name="roboto" label="Roboto font"/>
<suffix name="opensans" label="Open Sans font"/>
« no previous file with comments | « tools/metrics/histograms/enums.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698