[Nearby] Create concrete BluetoothAdapter.
Partially implement a concrete location::nearby::api::BluetoothAdapter, using the shared bluetooth::mojom::Adapter reference in Chrome's Nearby Connections. Only implement the methods on BluetoothAdapter which are required to act as a 'Sender' device (discovery and connection initiation), and basic methods like GetName(). A subsequent CL will finish this implementation; more methods need to be made available on bluetooth::mojom::Adapter first. api::BluetoothAdapter is a synchronous interface, so this CL converts the bluetooth::mojom::Adapter::GetInfo() method it consumes to [Sync]. Please see design doc go/nearby-chrome-bt for more details. Bug: b:154849033, b:158848873 Change-Id: Ia787f2890c42629a78c5d6e5caac6a73f9784a96 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2313998 Commit-Queue: Ryan Hansberry <hansberry@chromium.org> Reviewed-by:Reilly Grant <reillyg@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Alex Chau <alexchau@chromium.org> Reviewed-by:
James Vecore <vecore@google.com> Cr-Commit-Position: refs/heads/master@{#795552}
Showing
Please register or sign in to comment