forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Partitioned Storage: Use Quota nodes for Quota managed storage
CL adjusts the CookiesTreeModel to only consider quota nodes for quota managed storage types when the Storage Partitioning feature is enabled. When the feature is disabled, quota nodes are excluded from the tree model static factory function. When the feature is enabled, quota nodes are used to represent all quota managed storage types, and their more granular nodes are excluded. This is achieved by selectively including the relevant helpers (the tree model correctly supporting null helpers) Quota node functionality is also adjusted to actually delete affected hosts on deletion. Previously when removing a quota node, quota was "revoked", which does not remove any data - only resets the available quota (which is immediately re-granted when the page is reloaded) Previously Quota nodes, while included in the Cookies Tree, were not surfaced in the UI anywhere. Even in deprecated detailed control surfaces in settings. Bug: 1321120 Change-Id: I15dffc60444345d43d876b3aa84fa0a25e738b5f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3654190 Reviewed-by: Martin Šrámek <msramek@chromium.org> Reviewed-by: Marijn Kruisselbrink <mek@chromium.org> Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Theodore Olsauskas-Warren <sauski@google.com> Cr-Commit-Position: refs/heads/main@{#1018256}
- Loading branch information
1 parent
489e854
commit 837b3c8
Showing
21 changed files
with
400 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
chrome/app/settings_strings_grdp/IDS_SETTINGS_COOKIES_QUOTA_STORAGE.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
a15ec5fbec4e9cbe4f170edbd44d5e79d0857de5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.