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. |