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

Issue 2278003003: bluetooth: Fix layering violation in BluetoothChooserController (Closed)

Created:
4 years, 3 months ago by ortuno
Modified:
4 years, 3 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Fix layering violation in BluetoothChooserController BluetoothChooserController, which is in chrome/, was including BluetoothMetrics which is in content/. To avoid this we create a new histogram specifically for interactions with the chooser. BUG=641105 Committed: https://crrev.com/2d924f0d278c6edee2872427b89a2f44a6fb0781 Cr-Commit-Position: refs/heads/master@{#414758}

Patch Set 1 #

Patch Set 2 : git cl try #

Patch Set 3 : Clean up #

Patch Set 4 : Clean up #

Total comments: 4

Patch Set 5 : Address isherman's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -7 lines) Patch
D chrome/browser/ui/bluetooth/DEPS View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc View 1 2 3 4 7 chunks +9 lines, -4 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
ortuno
jyasskin: PTAL
4 years, 3 months ago (2016-08-25 21:44:45 UTC) #6
Jeffrey Yasskin
This lgtm, but I think we'd also be fine collecting just the count of invalid ...
4 years, 3 months ago (2016-08-25 21:52:57 UTC) #8
Ilya Sherman
There's little implementation overhead to recording valid as well as invalid cases, so I'd recommend ...
4 years, 3 months ago (2016-08-26 00:17:44 UTC) #11
Ilya Sherman
Whoops, meant to also say LGTM (% nits).
4 years, 3 months ago (2016-08-26 00:25:51 UTC) #12
ortuno
Thanks! https://codereview.chromium.org/2278003003/diff/60001/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc File chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc (right): https://codereview.chromium.org/2278003003/diff/60001/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc#newcode34 chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc:34: UMA_HISTOGRAM_ENUMERATION( On 2016/08/26 at 00:17:44, Ilya Sherman wrote: ...
4 years, 3 months ago (2016-08-26 16:14:36 UTC) #14
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/2278003003/80001
4 years, 3 months ago (2016-08-26 16:15:02 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-08-26 18:43:56 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-08-26 19:16:12 UTC) #19
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2d924f0d278c6edee2872427b89a2f44a6fb0781
Cr-Commit-Position: refs/heads/master@{#414758}

Powered by Google App Engine
This is Rietveld 408576698