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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2912633002: bluetooth: macOS: Adding histograms for NSError values (Closed)
Patch Set: Created 3 years, 6 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 5fdc25829c7c6402f41f31911c38061a5b1d2951..cd7b9001ff108ee981d7556e54594f26ef8e387b 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -6051,6 +6051,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Bluetooth.Web.MacOS.Errors" enum="WebBluetoothMacOSErrors" base="true">
ortuno 2017/05/31 06:59:52 If we use ATT_ERROR_SUCCESS for error == nil then
jlebel 2017/06/13 22:31:38 Well, we should not receive ATT_ERROR_SUCCESS. But
ortuno 2017/06/14 03:46:29 What bothers me is having to maintain two huge lis
jlebel 2017/06/19 07:07:49 AndroidGATTStatusResult is definitely matching CBA
+<!-- Name completed by histogram_suffixes name="WebBluetoothMacOSAPIs" -->
+ <owner>jlebel@chromium.org</owner>
ortuno 2017/05/31 06:59:52 Add scheib@chromium.org or maybe just web-bluetoot
scheib 2017/05/31 16:17:19 How about scheib@chromium.org and device-dev@chrom
jlebel 2017/06/13 22:31:37 Done.
+ <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.Web.RequestDevice.Filters.Count" units="filters">
<owner>jyasskin@chromium.org</owner>
<owner>ortuno@chromium.org</owner>
@@ -94151,6 +94161,20 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<affected-histogram name="WebApk.ShellApkVersion"/>
</histogram_suffixes>
+<histogram_suffises name="WebBluetoothMacOSAPIs" separator=".">
ortuno 2017/05/31 06:59:52 I think you mean suffixes instead of suffises.
jlebel 2017/06/13 22:31:37 Done.
+ <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"/>
+ <suffix name="DidWriteValue" label="Wrote value value"/>
+ <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.Web.MacOS.Errors"/>
+</histogram_suffises>
+
<histogram_suffixes name="WebFontFamily" separator="_">
<suffix name="roboto" label="Roboto font"/>
<suffix name="opensans" label="Open Sans font"/>

Powered by Google App Engine
This is Rietveld 408576698