commit | 5ca13cd261c1d93589582746811bb1a3a0be56d8 | [log] [tgz] |
---|---|---|
author | Noah Rose Ledesma <noahrose@google.com> | Mon Jan 30 21:15:11 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 30 21:15:11 2023 |
tree | 624a9fb28114a628ae948cf9d0961c1b4bc83e56 | |
parent | 34d875ec2477e96203638a06271c02a3588253b9 [diff] |
Run LibcurlNetworkFetcher in a single sequence The libcurl network fetcher needs to use weak pointers. The weak pointer factory needs to be destroyed on the same sequence that the weak pointers are dereferenced on. The previous code violated this invariant, destroying the factory on the sequence that the fetcher was created on while dereferencing on the IO sequence. To avoid this issue, the fetcher has been refactored to run on a single sequence. An intermediate class has been added to manage the sequence bound object. Bug: 1410783 Change-Id: I16603e3944d56c64887adb6f48fb92364c1f379f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4200710 Reviewed-by: Sorin Jianu <sorin@chromium.org> Commit-Queue: Noah Rose Ledesma <noahrose@google.com> Cr-Commit-Position: refs/heads/main@{#1098858}
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.