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

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: 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/NavigatorStorageQuota.cpp ('k') | Source/modules/quota/StorageManager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/quota/NavigatorStorageQuota.idl
diff --git a/Source/modules/quota/NavigatorStorageQuota.idl b/Source/modules/quota/NavigatorStorageQuota.idl
index 21c6e6f2a37d44b8b92a37ae9a692de6cff4d3ec..26483d308deb6d0130e9c46d30a74e03d817a99a 100644
--- a/Source/modules/quota/NavigatorStorageQuota.idl
+++ b/Source/modules/quota/NavigatorStorageQuota.idl
@@ -17,9 +17,16 @@
* Boston, MA 02110-1301, USA.
*/
+// This partial interface is a merge of three different partial interfaces
+// related to storage.
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;
};
« no previous file with comments | « Source/modules/quota/NavigatorStorageQuota.cpp ('k') | Source/modules/quota/StorageManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698