Chromium Code Reviews
Descriptioncros: 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 #Messages
Total messages: 14 (9 generated)
|