Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Unified Diff: content/public/browser/storage_partition.h

Issue 2757923002: Move StoragePartitionHttpCacheDataRemover to content/ (Closed)
Patch Set: Rebase. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/storage_partition_impl.cc ('k') | content/public/test/cache_test_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/storage_partition.h
diff --git a/content/public/browser/storage_partition.h b/content/public/browser/storage_partition.h
index ae4ba1e2d9c78d8dcd3546274ad123bec91eb7d8..4d4021d8a625eaf1d88654487faacb0d379c4a47 100644
--- a/content/public/browser/storage_partition.h
+++ b/content/public/browser/storage_partition.h
@@ -161,6 +161,16 @@ class CONTENT_EXPORT StoragePartition {
const base::Time end,
const base::Closure& callback) = 0;
+ // Clears the HTTP and media caches associated with this StoragePartition's
+ // request contexts. If |begin| and |end| are not null, only entries with
+ // timestamps inbetween are deleted. If |url_matcher| is not null, only
+ // entries with matching URLs are deleted.
+ virtual void ClearHttpAndMediaCaches(
+ const base::Time begin,
+ const base::Time end,
+ const base::Callback<bool(const GURL&)>& url_matcher,
+ const base::Closure& callback) = 0;
+
// Write any unwritten data to disk.
// Note: this method does not sync the data - it only ensures that any
// unwritten data has been written out to the filesystem.
« no previous file with comments | « content/browser/storage_partition_impl.cc ('k') | content/public/test/cache_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698