commit | 03365cb7e6b2f56db883978f924fbae243a084dc | [log] [tgz] |
---|---|---|
author | Etienne Dechamps <edechamps@google.com> | Wed Jan 31 14:31:35 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 31 14:31:35 2024 |
tree | ac6b9bfcf3dd14cba493dc7e8d2e82dbcb5e71a9 | |
parent | 8e93f56c336dbd06155c0cfebc6787e677496a3b [diff] |
Simplify Cronet native library initialization The current code that handles Cronet native library initialization and the init thread is incredibly contrived and confusing, for no apparent reason. My best guess is that the code ended up in this weird state due to the combination of these two (very old) CLs: - https://codereview.chromium.org/1926683003 - https://codereview.chromium.org/2812963002 Basically, when the initialization code was moved from the main thread to the new init thread, a bunch of defensive code stopped making sense, but wasn't cleaned up. This CL makes the initialization code much more straightforward, making it possible to read this code without triggering massive headaches. Change-Id: I452a5230b7bf1d0c9f22ccec1491d6f3cf6e705c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5245551 Commit-Queue: Etienne Dechamps <edechamps@google.com> Reviewed-by: Stefano Duo <stefanoduo@google.com> Cr-Commit-Position: refs/heads/main@{#1254493}
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.