[Extensions] Enable promise support on the browserAction API
This CL changes over the json schema to use the new returns_async format to define callbacks, enabling promise support on those APIs. Note: browserAction.setIcon and browserAction.openPopus do not yet support promises. setIcon uses a custom hook and openPopup uses a custom callback, which will have promise support added at a later time. Bug: 328932 Change-Id: Ie51b28bfe18f3bf5e427a59a1e5e2d04ee5116f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2515139Reviewed-by:Devlin <rdevlin.cronin@chromium.org> Commit-Queue: Tim Judkins <tjudkins@chromium.org> Cr-Commit-Position: refs/heads/master@{#826563}
Showing
Please register or sign in to comment