-
Ryan Hansberry authored
BLE advertisement logic like generating an advertisement and inspecting it are factored into BleServiceDataHelper, allowing BleScanner and BleAdvertiser to be agnostic of whether the new DeviceSync Mojo API is being used. This CL completes Magic Tether's integration with the DeviceSync Mojo API; a user can enable use of the API by enabling the kMultiDeviceApi flag. This CL refactors BleAdvertisementGenerator and BackgroundEidGenerator to accept RemoteDeviceRef lists with BeaconSeeds inside them, instead of accepting a RemoteBeaconSeedFetcher. This removes the need for RemoteBeaconSeedFetcher; it will be removed in a subsequent CL. Bug: 824568, 752273 Change-Id: Ibfc8328ae979e176f438aa53b8258839133068b8 Reviewed-on: https://chromium-review.googlesource.com/1088311 Commit-Queue: Ryan Hansberry <hansberry@chromium.org> Reviewed-by:
Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#565057}
ee61b7ea