Mark base::BindRepeating explicitly in SandboxStatusExtension
AddInterface() uses base::BindRepeating, so the input object must be a base::BindRepeating, and it seems that it can be called multiple times based on the comment here: https://source.chromium.org/chromium/chromium/src/+/master:chrome/common/sandbox_status_extension_android.mojom;l=11 Similarly, CreateFunctionTemplate() receives a repeating callback, and it is reasonable to allow getAndroidSandboxStatus to be called multiple times. Bug: 1007641 Change-Id: I3103b1e4ca8f5d6064c4b2c74d19cb9aad01fed1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2107705 Commit-Queue: Nicolás Peña Moreno <npm@chromium.org> Reviewed-by:Bo <boliu@chromium.org> Reviewed-by:
Yaron Friedman <yfriedman@chromium.org> Cr-Commit-Position: refs/heads/master@{#751102}
Showing
Please register or sign in to comment