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

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

Issue 13872017: Bluetooth: gather usage metrics (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Only include ChromeOS specific header on ChromeOS Created 7 years, 8 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:
View side-by-side diff with in-line comments
Download patch
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 2f1dd8178d7c4e0ca797e6b0569c0b6a631bb085..9ecf0e0cee74360aa97cfb98353e6e756ff1467a 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -364,6 +364,29 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="Bluetooth.ConnectedDeviceCount" units="devices">
+ <summary>
+ Counts the number of simulataneously connected Bluetooth devices. Used to
+ direct testing efforts, and by our UI team to determine appropriate UI
+ sizes.
+ </summary>
+</histogram>
+
+<histogram name="Bluetooth.PairingMethod" enum="BluetoothPairingMethod">
+ <summary>
+ Records the method used to pair each Bluetooth Device. Used to direct our
+ testing efforts.
+ </summary>
+</histogram>
+
+<histogram name="Bluetooth.PairingResult" enum="BluetoothPairingResult">
+ <summary>
+ Records the result of pairing each Bluetooth Device. Used to understand
+ whether we are having significant problems with Bluetooth pairing and seeing
+ errors more commonly than we should.
+ </summary>
+</histogram>
+
<histogram name="Clipboard.IncognitoUseCase" enum="ClipboardAction">
<obsolete>
Deprecated as of 4/2013, experiment confirmed correctness of our patch.
@@ -4030,6 +4053,27 @@ other types of suffix sets.
<int value="2" label="Failure"/>
</enum>
+<enum name="BluetoothPairingMethod" type="int">
+ <int value="0" label="No user interaction required"/>
+ <int value="1" label="PIN Code requested from user"/>
+ <int value="2" label="Passkey requested from user"/>
+ <int value="3" label="PIN Code entered into device"/>
+ <int value="4" label="Passkey entered into device"/>
+ <int value="5" label="Passkey confirmed on both devices"/>
+</enum>
+
+<enum name="BluetoothPairingResult" type="int">
+ <int value="0" label="Success"/>
+ <int value="1" label="Connection already in-progress"/>
+ <int value="2" label="Failed for non-specific reason"/>
+ <int value="3" label="Authentication failed"/>
+ <int value="4" label="Authentication canceled"/>
+ <int value="5" label="Authentication rejected"/>
+ <int value="6" label="Authentication timed out"/>
+ <int value="7" label="Unsupported device"/>
+ <int value="8" label="Unknown or unhandler error"/>
+</enum>
+
<enum name="BooleanAttempted" type="int">
<int value="0" label="Not Attempted"/>
<int value="1" label="Attempted"/>

Powered by Google App Engine
This is Rietveld 408576698