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

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

Issue 1297093002: Cache Storage API: Hook up to chrome://settings/cookies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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/public/browser/storage_partition.h
diff --git a/content/public/browser/storage_partition.h b/content/public/browser/storage_partition.h
index 9adfd67a8be424bde9c456ce7e36a5555a0bbc04..960470cf58de3905930d2d8d1fe1105b77967ac7 100644
--- a/content/public/browser/storage_partition.h
+++ b/content/public/browser/storage_partition.h
@@ -49,6 +49,7 @@ class IndexedDBContext;
class NavigatorConnectContext;
class PlatformNotificationContext;
class ServiceWorkerContext;
+class CacheStorageContext;
class ZoomLevelDelegate;
// Defines what persistent state a child process can access.
@@ -69,6 +70,7 @@ class CONTENT_EXPORT StoragePartition {
virtual DOMStorageContext* GetDOMStorageContext() = 0;
virtual IndexedDBContext* GetIndexedDBContext() = 0;
virtual ServiceWorkerContext* GetServiceWorkerContext() = 0;
+ virtual CacheStorageContext* GetCacheStorageContext() = 0;
virtual GeofencingManager* GetGeofencingManager() = 0;
virtual HostZoomMap* GetHostZoomMap() = 0;
virtual HostZoomLevelContext* GetHostZoomLevelContext() = 0;
@@ -87,6 +89,7 @@ class CONTENT_EXPORT StoragePartition {
REMOVE_DATA_MASK_WEBSQL = 1 << 6,
REMOVE_DATA_MASK_WEBRTC_IDENTITY = 1 << 7,
REMOVE_DATA_MASK_SERVICE_WORKERS = 1 << 8,
+ REMOVE_DATA_MASK_CACHE_STORAGE = 1 << 9,
REMOVE_DATA_MASK_ALL = 0xFFFFFFFF,
// Corresponds to storage::kStorageTypeTemporary.

Powered by Google App Engine
This is Rietveld 408576698