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

Issue 2601773003: Fix the logic of counting the number of devices for Web Bluetooth chooser UMA (Closed)

Created:
3 years, 12 months ago by juncai
Modified:
3 years, 11 months ago
Reviewers:
scheib
CC:
chromium-reviews, jam, ortuno+watch_chromium.org, scheib+watch_chromium.org, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix the logic of counting the number of devices for Web Bluetooth chooser UMA This is a follow-up CL for https://codereview.chromium.org/2577183002/ This CL fixes the logic of counting the number of devices. Previously, the |device_ids_| is cleared in function StartDeviceDiscovery(), and since StartDeviceDiscovery() is called after PopulateConnectedDevices(), and PopulateConnectedDevices() may add cached devices. So those added devices are removed from |device_ids_|. This CL fixes this by clearing the |device_ids_| before the PopulateConnectedDevices() function is called. TBR=scheib@chromium.org BUG=674195 Committed: https://crrev.com/41105d8a7831fff4df07939b32330445cce21a95 Cr-Commit-Position: refs/heads/master@{#440781}

Patch Set 1 : fix the logic of counting the number of devices for Web Bluetooth chooser UMA #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M content/browser/bluetooth/bluetooth_device_chooser_controller.cc View 3 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (11 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2601773003/1
3 years, 11 months ago (2016-12-27 20:28:32 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
3 years, 11 months ago (2016-12-27 20:32:37 UTC) #12
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/41105d8a7831fff4df07939b32330445cce21a95 Cr-Commit-Position: refs/heads/master@{#440781}
3 years, 11 months ago (2017-01-02 15:46:59 UTC) #14
scheib
3 years, 11 months ago (2017-01-03 19:31:46 UTC) #15
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698