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

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: update comment 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;
mlamouri (slow - plz ping) 2015/08/04 13:15:19 Usually, we have a comment before the interface po
jsbell 2015/08/04 15:32:04 I believe David is documenting the various "partia
mlamouri (slow - plz ping) 2015/08/04 15:36:47 Oh, I did not understand that. Maybe this could be
dgrogan 2015/08/06 23:52:02 I want anyone doing archaeology to have an easier
};

Powered by Google App Engine
This is Rietveld 408576698