Commit 4e0ae774 authored by juncai's avatar juncai Committed by Commit bot

Fix UMA for the number of devices in the chooser when a device is paired

This is a follow-up CL for
https://codereview.chromium.org/2577183002/
to fix an if statement at //content/browser/bluetooth/bluetooth_metrics.cc
It should be "if (!accept_all_devices)" instead of "if (accept_all_devices)"

TBR=scheib@chromium.org

BUG=674195

Review-Url: https://codereview.chromium.org/2590333002
Cr-Commit-Position: refs/heads/master@{#439876}
parent 70586e6f
...@@ -358,7 +358,7 @@ void RecordRSSISignalStrengthLevel(UMARSSISignalStrengthLevel level) { ...@@ -358,7 +358,7 @@ void RecordRSSISignalStrengthLevel(UMARSSISignalStrengthLevel level) {
} }
void RecordNumOfDevices(bool accept_all_devices, size_t num_of_devices) { void RecordNumOfDevices(bool accept_all_devices, size_t num_of_devices) {
if (accept_all_devices) { if (!accept_all_devices) {
UMA_HISTOGRAM_SPARSE_SLOWLY( UMA_HISTOGRAM_SPARSE_SLOWLY(
"Bluetooth.Web.RequestDevice." "Bluetooth.Web.RequestDevice."
"NumOfDevicesInChooserWhenNotAcceptingAllDevices", "NumOfDevicesInChooserWhenNotAcceptingAllDevices",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment