-
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.
Allow NamedMojoIpcServer to run without an isolated connection
IsolatedConnection is deprecated and will change its behavior after MojoIpcz adoption. This CL updates NamedMojoIpcServer so that it can run with or without an isolated connection. If the caller provides a message pipe ID, the non-isolated standard invitation flow will be used; otherwise an isolated connection will be used. Existing callers will still use IsolatedConnection after this CL is checked in, but they should eventually be switched to use non-isolated connections. This CL also parameterizes NamedMojoIpcServer tests so they test both isolated and non-isolated connections. It also updates the example usage to reflect the non-isolated usage. Bug: 1378803 Change-Id: I55f65fc969e66a93803809c2d258dba395200265 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4054401 Reviewed-by: Joshua Pawlicki <waffles@chromium.org> Reviewed-by: Noah Rose Ledesma <noahrose@google.com> Commit-Queue: Yuwei Huang <yuweih@chromium.org> Cr-Commit-Position: refs/heads/main@{#1076580}
- Loading branch information
Showing
9 changed files
with
189 additions
and
135 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
Oops, something went wrong.