-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Nearby Presence] Create mojo interface for RequestConnectionV3
Context/Design: go/cros-nearby-presence-np-nc-interop This CL creates the RequestConnectionV3 function in nearby_connections.mojom. This function operates similarly as the RequestConnection function but to be used by Nearby Presence. Instead of passing in the endpoint ID and info we are instead passing a NearbyDevice (see design). A follow-up CL will use this new functionality in the NearbyConnectionsManager. Low-Coverage-Reason: OTHER ConnectionListenerV3 was introduced and only has coverage for initiated_cb. Future CLs that implement Accept/RejectConnectionV3, DisconnectFromDeviceV3, and BandwidthUpgradeInitiatedV3 will have additional tests that provide coverage for the rest of the listener. Test: unit tests added Bug: b/287336280, b/307319934 Change-Id: I6805aafe5d4a95fd01c41e163f593020870650f8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4937670 Commit-Queue: Crisrael Lucero <crisrael@google.com> Reviewed-by: Ryan Hansberry <hansberry@chromium.org> Reviewed-by: Matthew Denton <mpdenton@chromium.org> Reviewed-by: Juliet Lévesque <julietlevesque@google.com> Cr-Commit-Position: refs/heads/main@{#1216357}
- Loading branch information
Showing
9 changed files
with
393 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.