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

Unified Diff: content/browser/bluetooth/bluetooth_metrics.cc

Issue 2590333002: Fix UMA for the number of devices in the chooser when a device is paired (Closed)
Patch Set: fix UMA for the number of devices in the chooser when a device is paired Created 4 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/bluetooth/bluetooth_metrics.cc
diff --git a/content/browser/bluetooth/bluetooth_metrics.cc b/content/browser/bluetooth/bluetooth_metrics.cc
index 6ae97006a59a33d63af9d0f41dae3967840639ef..c32c9cf01abf13702070eb8d60988c15a6f5fe71 100644
--- a/content/browser/bluetooth/bluetooth_metrics.cc
+++ b/content/browser/bluetooth/bluetooth_metrics.cc
@@ -358,7 +358,7 @@ void RecordRSSISignalStrengthLevel(UMARSSISignalStrengthLevel level) {
}
void RecordNumOfDevices(bool accept_all_devices, size_t num_of_devices) {
- if (accept_all_devices) {
+ if (!accept_all_devices) {
UMA_HISTOGRAM_SPARSE_SLOWLY(
"Bluetooth.Web.RequestDevice."
"NumOfDevicesInChooserWhenNotAcceptingAllDevices",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698