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

Unified Diff: Source/modules/quota/NavigatorStorageQuota.h

Issue 1154573005: Expose Durable Storage API to script (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: just reset the results 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
« no previous file with comments | « Source/modules/quota/DEPS ('k') | Source/modules/quota/NavigatorStorageQuota.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/quota/NavigatorStorageQuota.h
diff --git a/Source/modules/quota/NavigatorStorageQuota.h b/Source/modules/quota/NavigatorStorageQuota.h
index 951d46be1e263decde24cc508244decae9701f30..c10996adbb2198d927f9ee5ffbfc3be71cc91f11 100644
--- a/Source/modules/quota/NavigatorStorageQuota.h
+++ b/Source/modules/quota/NavigatorStorageQuota.h
@@ -40,6 +40,7 @@ namespace blink {
class LocalFrame;
class Navigator;
+class StorageManager;
class StorageQuota;
class NavigatorStorageQuota final : public GarbageCollectedFinalized<NavigatorStorageQuota>, public HeapSupplement<Navigator>, public DOMWindowProperty {
@@ -51,10 +52,12 @@ public:
static StorageQuota* storageQuota(Navigator&);
static DeprecatedStorageQuota* webkitTemporaryStorage(Navigator&);
static DeprecatedStorageQuota* webkitPersistentStorage(Navigator&);
+ static StorageManager* storage(Navigator&);
StorageQuota* storageQuota() const;
DeprecatedStorageQuota* webkitTemporaryStorage() const;
DeprecatedStorageQuota* webkitPersistentStorage() const;
+ StorageManager* storage() const;
DECLARE_TRACE();
@@ -65,6 +68,7 @@ private:
mutable Member<StorageQuota> m_storageQuota;
mutable Member<DeprecatedStorageQuota> m_temporaryStorage;
mutable Member<DeprecatedStorageQuota> m_persistentStorage;
+ mutable Member<StorageManager> m_storageManager;
};
} // namespace blink
« no previous file with comments | « Source/modules/quota/DEPS ('k') | Source/modules/quota/NavigatorStorageQuota.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698