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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 1248573002: Add a histogram to record requestDevice outcomes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@plumb-render-frame-host2
Patch Set: Rename to Bluetooth.RequestDevice.Outcome and fix a spelling error. Created 5 years, 5 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 | « content/browser/bluetooth/bluetooth_dispatcher_host.cc ('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 a5f730accda40265fd50de1d44095cd790d15837..fa1de8928cbe4851e63ed5e1d80fe644e4212a17 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -2682,6 +2682,18 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Bluetooth.RequestDevice.Outcome"
+ enum="BluetoothRequestDeviceOutcome">
+ <owner>jyasskin@chromium.org</owner>
+ <owner>ortuno@chromium.org</owner>
+ <owner>scheib@chromium.org</owner>
+ <summary>
+ Records the result of a navigator.bluetooth.requestDevice() call. Used to
+ understand what errors developers are getting so we can target efforts
+ toward the most common ones.
+ </summary>
+</histogram>
+
<histogram name="Bookmarks.LaunchDepth">
<owner>yfriedman@chromium.org</owner>
<summary>
@@ -51339,6 +51351,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="8" label="Unknown or unhandler error"/>
</enum>
+<enum name="BluetoothRequestDeviceOutcome" type="int">
+ <int value="0" label="Success"/>
+ <int value="1" label="No Bluetooth adapter"/>
+ <int value="2" label="No RenderFrameHost for message source"/>
+ <int value="3" label="Discovery start failed"/>
+ <int value="4" label="Discovery stop failed"/>
+ <int value="5" label="No matching devices found"/>
+</enum>
+
<enum name="BookmarksExperimentState" type="int">
<int value="0" label="No experiment"/>
<int value="1" label="Experiment enabled (sync)"/>
« no previous file with comments | « content/browser/bluetooth/bluetooth_dispatcher_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698