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

Issue 2755643005: cros: Extract TrayBluetoothHelper from SystemTrayDelegateChromeOS (Closed)

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

Description

cros: Extract TrayBluetoothHelper from SystemTrayDelegateChromeOS This is first step toward moving system tray bluetooth glue code out of chrome browser into ash, which is needed for the eventual mojo interface conversion for mash. * Create TrayBluetoothHelper as part of SystemTrayDelegateChromeOS. * Forward method calls, don't change any functionality. * Add a browser test to make sure I'm forwarding calls correctly. * Add a unit test for TrayBluetoothHelper. * Clarify the name of HasDiscoverySession(), which is a weird API. TODO: * Eliminiate the two-stage initialization of SystemTrayDelegateChromeOS. I didn't want to mess with initialization timing in this CL. * Move TrayBluetoothHelper down into ash near TrayBluetooth. BUG=660043 TEST=automated, added to chrome browser_tests and unit_tests Review-Url: https://codereview.chromium.org/2755643005 Cr-Commit-Position: refs/heads/master@{#457690} Committed: https://chromium.googlesource.com/chromium/src/+/7822c80225dbb6c6fe2a887c842294a74fec2962

Patch Set 1 #

Total comments: 12

Patch Set 2 : review comments #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+444 lines, -167 lines) Patch
M ash/common/system/tray/system_tray_delegate.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.h View 1 7 chunks +9 lines, -31 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 1 2 13 chunks +18 lines, -136 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc View 1 3 chunks +52 lines, -0 lines 0 comments Download
A chrome/browser/ui/ash/tray_bluetooth_helper.h View 1 1 chunk +108 lines, -0 lines 0 comments Download
A chrome/browser/ui/ash/tray_bluetooth_helper.cc View 1 chunk +193 lines, -0 lines 0 comments Download
A chrome/browser/ui/ash/tray_bluetooth_helper_unittest.cc View 1 chunk +60 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
James Cook
msw, please take a look. rkc, just FYI, no need to review.
3 years, 9 months ago (2017-03-16 22:49:38 UTC) #3
msw
lgtm with nits https://codereview.chromium.org/2755643005/diff/1/ash/common/system/tray/system_tray_delegate.h File ash/common/system/tray/system_tray_delegate.h (right): https://codereview.chromium.org/2755643005/diff/1/ash/common/system/tray/system_tray_delegate.h#newcode39 ash/common/system/tray/system_tray_delegate.h:39: // TODO(jamescook): Move to TrayBluetoothHelper. nit: ...
3 years, 9 months ago (2017-03-17 00:11:06 UTC) #5
James Cook
Thanks for the quick review. https://codereview.chromium.org/2755643005/diff/1/ash/common/system/tray/system_tray_delegate.h File ash/common/system/tray/system_tray_delegate.h (right): https://codereview.chromium.org/2755643005/diff/1/ash/common/system/tray/system_tray_delegate.h#newcode39 ash/common/system/tray/system_tray_delegate.h:39: // TODO(jamescook): Move to ...
3 years, 9 months ago (2017-03-17 04:02:57 UTC) #8
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/2755643005/40001
3 years, 9 months ago (2017-03-17 04:03:53 UTC) #11
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 05:11:19 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/7822c80225dbb6c6fe2a887c8422...

Powered by Google App Engine
This is Rietveld 408576698