bluetooth: Refactor LayoutTestBluetoothAdapterProvider.
This CL removes all Invoke() calls and uses ACTION_TEMPLATE instead. This makes the code easier to read as now the values passed to the callbacks are no longer hidden inside other functions. Also change the definition of GetDevices to call adapter->GetConstMockDevices directly. This allows us to use the EmptyAdapter as a base adapter on which we can build other adapters. BUG=436284 Review URL: https://codereview.chromium.org/1138913006 Cr-Commit-Position: refs/heads/master@{#330760}
Showing
Please register or sign in to comment