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

Issue 2761993002: cros: Eliminate bluetooth methods from SystemTrayDelegate (Closed)

Created:
3 years, 9 months ago by James Cook
Modified:
3 years, 9 months ago
Reviewers:
msw
CC:
chromium-reviews, kalyank, alemate+watch_chromium.org, sadrul, oshima+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

cros: Eliminate bluetooth methods from SystemTrayDelegate This is another step toward making bluetooth work in mash. * Convert TrayBluetooth to use TrayBluetoothHelper directly * Rename helper methods to have "bluetooth" in them for clarity * Eliminate obsolete (and disabled) SystemTrayDelegateChromeOS unit test BUG=660043 TEST=ash_unittests, chrome browser_tests Review-Url: https://codereview.chromium.org/2761993002 Cr-Commit-Position: refs/heads/master@{#458322} Committed: https://chromium.googlesource.com/chromium/src/+/b84d051d3c76ccb8e0e3b07d3c5e064f6069824c

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 8

Patch Set 3 : rebase #

Patch Set 4 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -358 lines) Patch
M ash/common/system/chromeos/bluetooth/tray_bluetooth.cc View 1 2 11 chunks +34 lines, -34 lines 0 comments Download
M ash/common/system/chromeos/bluetooth/tray_bluetooth_helper.h View 1 2 3 2 chunks +24 lines, -13 lines 0 comments Download
M ash/common/system/chromeos/bluetooth/tray_bluetooth_helper.cc View 1 2 3 7 chunks +18 lines, -15 lines 0 comments Download
M ash/common/system/chromeos/bluetooth/tray_bluetooth_helper_unittest.cc View 1 2 3 1 chunk +12 lines, -15 lines 0 comments Download
M ash/common/system/tray/default_system_tray_delegate.h View 1 chunk +0 lines, -7 lines 0 comments Download
M ash/common/system/tray/default_system_tray_delegate.cc View 2 chunks +1 line, -22 lines 0 comments Download
M ash/common/system/tray/system_tray_delegate.h View 4 chunks +0 lines, -48 lines 0 comments Download
M ash/common/system/tray/system_tray_delegate.cc View 3 chunks +0 lines, -35 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.h View 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 3 chunks +0 lines, -39 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc View 1 2 3 3 chunks +0 lines, -51 lines 0 comments Download
D chrome/browser/ui/ash/system_tray_delegate_chromeos_unittest.cc View 1 chunk +0 lines, -67 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/emulator/device_emulator_message_handler.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 23 (18 generated)
James Cook
msw, please take a look. The redness is all patch failures. https://codereview.chromium.org/2761993002/diff/20001/ash/common/system/chromeos/bluetooth/tray_bluetooth_helper.h File ash/common/system/chromeos/bluetooth/tray_bluetooth_helper.h (right): ...
3 years, 9 months ago (2017-03-21 00:31:58 UTC) #10
msw
lgtm with nits and one minor comment. https://codereview.chromium.org/2761993002/diff/20001/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc File ash/common/system/chromeos/bluetooth/tray_bluetooth.cc (right): https://codereview.chromium.org/2761993002/diff/20001/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc#newcode214 ash/common/system/chromeos/bluetooth/tray_bluetooth.cc:214: if (helper->HasBluetoothDiscoverySession()) ...
3 years, 9 months ago (2017-03-21 01:54:46 UTC) #11
James Cook
Thanks for the quick review. Let me know what you think about the null check. ...
3 years, 9 months ago (2017-03-21 04:43:01 UTC) #16
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/2761993002/60001
3 years, 9 months ago (2017-03-21 04:43:37 UTC) #20
commit-bot: I haz the power
3 years, 9 months ago (2017-03-21 05:46:07 UTC) #23
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/b84d051d3c76ccb8e0e3b07d3c5e...

Powered by Google App Engine
This is Rietveld 408576698