commit | cee7be64f360451d32661e09fb8b5ae8947fbe2c | [log] [tgz] |
---|---|---|
author | Soshun Naito <soshun@google.com> | Thu Sep 12 05:51:56 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 12 05:51:56 2024 |
tree | e5c7778bfaa7cf641dc434d267c7fe6a599bca7c | |
parent | 976a17c5fe3342a74ad5cded3c46c908d4258453 [diff] |
arc: Introduce MojoInitData & Send the version of ArcBridgeHost This CL adds a protocol to send the UUID and the version of each interface during initialization. When the ARC side became capable of handling this protocol, we can skip QueryVersion from ArcBridgeInstance to Chrome and reduce an unnecessary IPC. This CL introduces a class MojoInitData which contains data to be sent during the bootstrap connection. When kArcExchangeVersionOnMojoHandshake feature is enabled, it switches to the new protocol and additionally provides the UUID and the version of each interface. Though in this CL it only adds the information of ArcBridgeHost, the number of interfaces will be increased later. Note that this CL does not change the behavior of existing protocol because all of the new features are under the kArcExchangeVersionOnMojoHandshake flag. Bug: b:363922359, b:355365971 Change-Id: Id41884705b1248e0f80fe21cbbc3155382917337 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5782514 Commit-Queue: Soshun Naito <soshun@google.com> Reviewed-by: Hidehiko Abe <hidehiko@chromium.org> Reviewed-by: Eriko Kurimoto <elkurin@chromium.org> Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org> Cr-Commit-Position: refs/heads/main@{#1354365}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.