[Extensions] Enable promise support on the action 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: action.setIcon does not yet support promises as it uses a custom hook. Promise support for APIs using custom hooks will be added at a later time. Bug: 328932 Change-Id: I3271db95514a5410ae4e361b514c8932dad1d85f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2514745Reviewed-by:Devlin <rdevlin.cronin@chromium.org> Commit-Queue: Tim Judkins <tjudkins@chromium.org> Cr-Commit-Position: refs/heads/master@{#826841}
Showing
Please register or sign in to comment