[CrOS PhoneHub] Add Nearby medium within SecureChannel
This CL adds a new ConnectionMedium::kNearbyConnections enum value and adds a few potential error cases with this value. Actual handling of Nearby Connections requests is left as a TODO in PendingConnectionManagerImpl. Note that this does not actually add a ConnectionMedium value to the top-level API, and all incoming requests are assumed to be BLE at this point. The parameter is added to the Mojo API as part of the follow-up CL at [1], and some tests verifying the functionality in this CL are added in that CL as well. [1] https://chromium-review.googlesource.com/c/chromium/src/+/2390965 Bug: 1106937 Change-Id: I8e29613d6f2a11403d6815abebabeb21b64babe5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2391587 Commit-Queue: Kyle Horimoto <khorimoto@chromium.org> Reviewed-by:Tom Sepez <tsepez@chromium.org> Reviewed-by:
James Vecore <vecore@google.com> Cr-Commit-Position: refs/heads/master@{#804276}
Showing
Please register or sign in to comment