commit | 15cfea89e261b51bb38a10204c6bb65b8dfacdec | [log] [tgz] |
---|---|---|
author | Etienne Bergeron <[email protected]> | Tue Aug 02 14:56:30 2022 |
committer | Chromium LUCI CQ <[email protected]> | Tue Aug 02 14:56:30 2022 |
tree | a7acc679a1b55b467c57d53ba12a0b3fabf75e24 | |
parent | 30664aac8bfb5ccb0d57ffd12557ca3be2b6ffa1 [diff] |
Split singleton creation and notifications watching This CL is decoupling the process singleton Create(...) and start Watching(...). The current CL should be a no-op. * The Create(...) phase will take the locks and ensures the browser is unique. After that phase, the notifications are not yet processed. * The call to StartWatching(...) will ensure there are some code pumping the notifications from other processes. The purpose of this split is to make it easier to lift the process singleton into earlier startup phases. The Create(...) function can be called before the creation of the IO-Thread while the StartWatching(...) must happen after. Bug: 1340599 Change-Id: I11b95c38137736bfaf5edbae86379e124e2990a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3781028 Reviewed-by: Scott Violet <[email protected]> Commit-Queue: Etienne Bergeron <[email protected]> Reviewed-by: Gabriel Charette <[email protected]> Cr-Commit-Position: refs/heads/main@{#1030549}
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.