commit | 22e259a86b120391897efb3034d2b7a508ff608b | [log] [tgz] |
---|---|---|
author | Devlin Cronin <rdevlin.cronin@chromium.org> | Thu Aug 29 00:46:11 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 29 00:46:11 2024 |
tree | b9e95faaae83a1b25f9b4460b083fee03948002c | |
parent | 4c0d9e3e096ec1aa79856bd8ef8f6eb4a243aaca [diff] |
Add a separate "process_state" file and target in //chrome/renderer Currently, whether a process is incognito is stored on the ChromeRenderThreadObserver. This is not ideal since, 1) It has nothing to do with observing the render thread, and 2) Anything that needs to check whether a process is incognito then needs to depend on ChromeRenderThreadObserver, which can make cyclical dependencies when trying to extract out pieces from the monolithic //chrome/renderer BUILD file. Fix this by pulling the tracking for is_incognito_process into a new file, process_state.h, which is in its own source set, //chrome/renderer:process_state. This CL should have no effective behavior change. Bug: None Change-Id: Ia3ee9e5e71553839c37e9a55cb44ba56353296a4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5824137 Reviewed-by: Erik Chen <erikchen@chromium.org> Commit-Queue: Devlin Cronin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/main@{#1348378}
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.