Descriptionbluetooth: Move testing IPC from BluetoothDispatcher to BlinkTestRunner
This patch removes the testing IPC from BluetoothDispatcher and
BluetoothDispatcherHost.
This patch also changes the way the mock BluetoothAdapter was set in
BluetoothDispatcherHost. Instead of receiving an IPC to set the adapter,
BluetoothDispatcherHost exposes a function to directly set the adapter.
This function is used by LayoutTestSupport to set the adapter.
Mock adapter flow before:
BlinkTestRunner -> LayoutTestSupport -> BluetoothDispatcher --IPC-->
BluetoothDispatcherHost (Mock constructed here)
After:
BlinkTestRunner --IPC--> LayoutTestMessages(Mock constructed here) ->
LayoutTestSupport -> BluetoothDispatcherHost
This is the first of two patches to remove testing from BluetoothDispatcher
and BluetoothDispatcherHost:
[1] This patch.
[2] http://crrev.com/1132943002
BUG=436284
Committed: https://crrev.com/3f7142d0acf5e930743cbe5d754084c464ac3c85
Cr-Commit-Position: refs/heads/master@{#330647}
Committed: https://crrev.com/a58d60c749f55046a8a85c6398864759fd877266
Cr-Commit-Position: refs/heads/master@{#330696}
Patch Set 1 : #
Total comments: 12
Patch Set 2 : Fixes based on comments" #Patch Set 3 : Fix for stable release mode tests #
Total comments: 1
Messages
Total messages: 47 (27 generated)
|