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

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

Issue 1154573005: Expose Durable Storage API to script (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: hacked up DEPS Created 5 years, 5 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: Source/modules/quota/NavigatorStorageQuota.idl
diff --git a/Source/modules/quota/NavigatorStorageQuota.idl b/Source/modules/quota/NavigatorStorageQuota.idl
index 21c6e6f2a37d44b8b92a37ae9a692de6cff4d3ec..6c48327ae35c8fa7bd07a3485050bb10ce17ca72 100644
--- a/Source/modules/quota/NavigatorStorageQuota.idl
+++ b/Source/modules/quota/NavigatorStorageQuota.idl
@@ -18,8 +18,13 @@
*/
partial interface Navigator {
+ // http://www.w3.org/TR/2012/WD-quota-api-20120703/#idl-def-StorageQuotaEnvironment
[MeasureAs=PrefixedStorageQuota] readonly attribute DeprecatedStorageQuota webkitTemporaryStorage;
[MeasureAs=PrefixedStorageQuota] readonly attribute DeprecatedStorageQuota webkitPersistentStorage;
+ // http://www.w3.org/TR/2015/WD-quota-api-20150409/#accessing-storagequota-interface
[RuntimeEnabled=QuotaPromise] readonly attribute StorageQuota storageQuota;
+
+ // https://storage.spec.whatwg.org/#api
+ [RuntimeEnabled=DurableStorage] readonly attribute StorageManager storage;
};

Powered by Google App Engine
This is Rietveld 408576698