[remoteobjects] Add useMojo parameter to JavascriptInjector
This CL adds |useMojo| parameter to JavascriptInjector that would default to false and using RemoteObjectInjector method in JavascriptInjectorImpl#addPossiblyUnsafeInterface() if useMojo is true. We will add useMojo for the rest of the code when RemoteObjectInjector#removeInterface is implemented and it is available for JavascriptInjectorImpl. This change adds usage of mojom interfaces and methods, and the binary size increase is caused by generated Java bindings. Java bindings improvements (including size optimizations) are captured in https://bugs.chromium.org/u/2764092486/hotlists/java-bindings. Bug: 1105927 Binary-Size: Size increase is unavoidable (see above). Change-Id: I5d9c6d83084b3a72812382e5cbe8011a37e938e9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2331988Reviewed-by:Bo <boliu@chromium.org> Reviewed-by:
Oksana Zhuravlova <oksamyt@chromium.org> Commit-Queue: Miyoung Shin <myid.shin@igalia.com> Cr-Commit-Position: refs/heads/master@{#797683}
Showing
Please register or sign in to comment