| commit | 1fc3e3bd978f17ae4c24703f55ed29bc6ac9b2a8 | [log] [tgz] |
|---|---|---|
| author | Tomek Jurkiewicz <tju@google.com> | Mon Sep 29 11:42:12 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Sep 29 11:42:12 2025 |
| tree | 33467196ecb8270044721e8bd910f999c97b663f | |
| parent | 689671cf5c3723a34e042800fc8840521b311024 [diff] |
Only close incognito windows when it's allowed The `platform_delegate_->CloseIncognitoTabs()` method is now only called if `platform_delegate_->ShouldCloseIncognitoTabs()` returns true, allowing platforms to control when incognito tabs are closed. The new test verifies that the incognito window is still operative after enabling local parental controls, because the enterprise policy overrules local parental controls. Bug: 442811495 Change-Id: I659311cff6686b2ccfec2360458b4018de4cb9b5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6916800 Commit-Queue: James Lee <ljjlee@google.com> Reviewed-by: James Lee <ljjlee@google.com> Auto-Submit: Tomek Jurkiewicz <tju@google.com> Cr-Commit-Position: refs/heads/main@{#1522115}
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.