-
Lingqi Chi authored
This is part of work to control the Mojo interfaces available to prerendered pages. See design doc[1] for more details. In addition to content/, embedders define their own Mojo interfaces, so they need to add their binding policies. This CL adds a new content API named MojoBinderPolicyMap that allows embedders to register policies for embedder-specific interfaces by overriding ContentBrowserClient::RegisterMojoBinderPolicyMap method. [1] https://docs.google.com/document/d/1E3Ma8HQFmxx8OvWVrjqpLziYIRbTRgLat4cM-nyKB6w/edit?usp=sharing Bug: 1132752 Change-Id: Ie47a9fc2517fd3cda8438e9c61a5fa6854a8f36d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2507230Reviewed-by:
Scott Violet <sky@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:
Matt Falkenhagen <falken@chromium.org> Reviewed-by:
Takashi Toyoshima <toyoshim@chromium.org> Commit-Queue: Lingqi Chi <lingqi@chromium.org> Cr-Commit-Position: refs/heads/master@{#836539}
775e6075