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/WorkerNavigatorStorageQuota.idl

Issue 1301393002: Expose durable storage to workers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update webexposed lists 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: Source/modules/quota/WorkerNavigatorStorageQuota.idl
diff --git a/Source/modules/quota/WorkerNavigatorStorageQuota.idl b/Source/modules/quota/WorkerNavigatorStorageQuota.idl
index c47cb53610a66eac60e85626ddc78f164a6be8ae..cb14bb6c7c471eb7639911c41df9d54b571d76e5 100644
--- a/Source/modules/quota/WorkerNavigatorStorageQuota.idl
+++ b/Source/modules/quota/WorkerNavigatorStorageQuota.idl
@@ -17,7 +17,13 @@
* Boston, MA 02110-1301, USA.
*/
+// This partial interface is a merge of two different partial interfaces
+// related to storage.
partial interface WorkerNavigator {
+ // 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;
+
+ // https://storage.spec.whatwg.org/#api
+ [RuntimeEnabled=DurableStorage] readonly attribute StorageManager storage;
};

Powered by Google App Engine
This is Rietveld 408576698