commit | fd9f9a859b05a36bb1b97ff77ce20c9975c68f9a | [log] [tgz] |
---|---|---|
author | Tim Judkins <tjudkins@chromium.org> | Fri Sep 10 20:28:46 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 10 20:28:46 2021 |
tree | c7b58a0d0b9a43f0b9e47289bb5318a49623a6d6 | |
parent | c1ffb982fb8d25e4541bb42254f64dae98004398 [diff] |
[Extension bindings] Unify APIRequestHandler StartRequest functions This CL unifies the StartPromiseBasedRequest and StartRequest functions in APIRequestHandler to remove duplicated logic that was occurring at call sites. Instead of deciding if it is a promise based request at the call site, we now pass the binding::AsyncResponseType into the function and put the shared logic there. Bug: N/A Change-Id: Idc89c5b30730ac29d80432fc37aaae08a94f0d85 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3150775 Commit-Queue: Tim Judkins <tjudkins@chromium.org> Reviewed-by: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/main@{#920357}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.