-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iwa: StoragePartition::OnClearSiteData to pass StoragePartition along
When StoragePartition::OnClearSiteData() is called, the call takes the follow route: > StoragePartition::OnClearSiteData() > ClearSiteDataHandler::HandleHeader() > ClearSiteData() > BrowsingDataRemoverImpl::RemoveWithFilterAndReply() > StoragePartition::ClearData() However, any StoragePartition calls OnClearSiteData() will eventually result in default StoragePartition calling ClearData(). This chain of changes attempts to fix this by passing the StoragePartition along to have the final ClearData() call called on the correct StoragePartition. We are also updating the definition of DATA_TYPE_ON_STORAGE_PARTITION because only subsets of DATA_TYPE_ON_STORAGE_PARTITION are allowed by BrowsingDataRemover to be the mask when a StoragePartition is specified in the filter. Bug: 1449362 Change-Id: I766d02a89ee636321625e30b80b1f38f15885e74 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4770335 Reviewed-by: Robbie McElrath <rmcelrath@chromium.org> Reviewed-by: Joshua Bell <jsbell@chromium.org> Commit-Queue: Zelin Liu <zelin@chromium.org> Reviewed-by: Martin Šrámek <msramek@chromium.org> Reviewed-by: Nasko Oskov <nasko@chromium.org> Cr-Commit-Position: refs/heads/main@{#1188471}
- Loading branch information
Zelin Liu
authored and
Chromium LUCI CQ
committed
Aug 25, 2023
1 parent
de38d36
commit fb01fe6
Showing
7 changed files
with
175 additions
and
74 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
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.