Description[CookieStore] Upgrading host-based deleting to predicate-based deleting.
This patch removes the DeleteAllCreatedBetweenForHostAsync callpath in
favor of using a predicate. The current callers of the host version are
migrated to using the predicate, with the new
StoragePartitionImpl::CreatePredicateForHostCookies helper method.
It looks like the DeleteAllCreatedBetweenForHostAsync codepath is
is only used by unittests and extensions. The current client (storage
partition) is being changed in the following patch here:
https://codereview.chromium.org/1741123002
to expose the predicate functionality as well. After fully supporting
the filter functionality in our BrowsingDataRemover, we can remove all
notions of the single-host or single-origin based clearing, and migrate
data_deleter.cc in extensions to use the predicate method.
R=mkwst@chromium.org,brettw@chromium.org
BUG=589586, 578162
Committed: https://crrev.com/faea244c3351a6e7f7f4939deb28646fef5e6bb8
Cr-Commit-Position: refs/heads/master@{#386262}
Patch Set 1 #Patch Set 2 : Added android changes #
Total comments: 14
Patch Set 3 : comments, and ios #
Total comments: 6
Patch Set 4 : Comments, ios fix #Patch Set 5 : fix IOS #
Total comments: 4
Patch Set 6 : removed url-based deletion on ios #
Total comments: 4
Patch Set 7 : ios fixes #Patch Set 8 : Added back old test data, fixing windows build error #Patch Set 9 : rebase #Dependent Patchsets: Messages
Total messages: 54 (24 generated)
|