Adding a method to remove data between start and end time There is currently no way to delete data between two timestamps on iOS. All methods that remove data right now are either to delete all data or to delete data within the timeframe selected from the settings UI which maps to a `TimePeriod` enum. This CL adds a method to the `BrowsingDataRemover` to delete data between two timestamps. This method will be used for enterprise policies that require to delete data only for a given timeframe. This will mainly be used for policies that clear data from the time the user signed in only. An example of a policy that will use this in a follow-up CL is IdleTimeoutActions which might clear data only for the time the user was signed in if it was set as a user policy. Please see IdleTimeoutActions.yaml for more details about the policy. Bug: b/301676922 Change-Id: Ica14d48d1a1a82b7fd2fae20966755777683802b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5124634 Commit-Queue: Salma Elmahallawy <esalma@google.com> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Sylvain Defresne <sdefresne@chromium.org> Cr-Commit-Position: refs/heads/main@{#1239182}
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.