commit | 64a0c9cf6178b6a9cad5424ae8477351dd1cc394 | [log] [tgz] |
---|---|---|
author | Tsuyoshi Horo <horo@chromium.org> | Wed May 31 22:13:55 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 31 22:13:55 2023 |
tree | 04359c853670becefd047ccf2f8d602439b46d24 | |
parent | 70e62f1ce5864e2edcd5143a4c674f852a51218e [diff] |
Clear shared dictionaries from BrowsingDataRemoverImpl This CL introduces NetworkContext.ClearSharedDictionaryCache IPC message which is called from BrowsingDataRemoverImpl::RemoveImpl() when DATA_TYPE_COOKIES or DATA_TYPE_CACHE is set in `remove_mask`. NetworkContext::ClearSharedDictionaryCache() calls SharedDictionaryManager::ClearData(). This CL implements this method only in SharedDictionaryManagerOnDisk::ClearData(). SharedDictionaryManagerInMemory::ClearData() will be implemented in the future. SharedDictionaryManagerOnDisk serializes the operation of ClearData using `ClearDataTask` which is a subclass of `SerializedTask`. We will introduce other types of SerializedTask such as CacheEvictionTask, ExpiredEntryDeletionTask and MismatchingEntryDeletionTask in the future. Fuchsia-Binary-Size: Size increase is unavoidable Bug: 1413922 Change-Id: Iba8d9c10a0b820ac1f22ac8c1a0a9e47f09056ee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4570345 Reviewed-by: Christian Dullweber <dullweber@chromium.org> Commit-Queue: Tsuyoshi Horo <horo@chromium.org> Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org> Cr-Commit-Position: refs/heads/main@{#1151511}
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.