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

Unified Diff: content/browser/storage_partition_impl.h

Issue 12500009: Add the ability to clear the shader disk cache. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: content/browser/storage_partition_impl.h
diff --git a/content/browser/storage_partition_impl.h b/content/browser/storage_partition_impl.h
index 07cea990e9b3d6e73d35d6aa601ea9d96dbbf753..91a0068b9e70bad2d3abe006e1341058098a146b 100644
--- a/content/browser/storage_partition_impl.h
+++ b/content/browser/storage_partition_impl.h
@@ -34,6 +34,11 @@ class StoragePartitionImpl : public StoragePartition {
const GURL& storage_origin,
net::URLRequestContextGetter* request_context_getter) OVERRIDE;
virtual void AsyncClearData(uint32 storage_mask) OVERRIDE;
+ virtual void AsyncClearDataBetween(
+ uint32 storage_mask,
+ const base::Time& begin,
+ const base::Time& end,
+ const base::Closure& callback) OVERRIDE;
private:
friend class StoragePartitionImplMap;
@@ -49,6 +54,7 @@ class StoragePartitionImpl : public StoragePartition {
const base::FilePath& profile_path);
StoragePartitionImpl(
+ const base::FilePath& context_path,
const base::FilePath& partition_path,
quota::QuotaManager* quota_manager,
ChromeAppCacheService* appcache_service,
@@ -73,6 +79,7 @@ class StoragePartitionImpl : public StoragePartition {
void SetMediaURLRequestContext(
net::URLRequestContextGetter* media_url_request_context);
+ base::FilePath context_path_;
base::FilePath partition_path_;
scoped_refptr<net::URLRequestContextGetter> url_request_context_;
scoped_refptr<net::URLRequestContextGetter> media_url_request_context_;

Powered by Google App Engine
This is Rietveld 408576698