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

Unified Diff: Source/modules/quota/StorageManager.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/StorageManager.idl
diff --git a/Source/modules/quota/StorageManager.idl b/Source/modules/quota/StorageManager.idl
index fe72965b44648da04b1678ed5c69662f78581f5d..9cf117d8bcd0c2ea0db05914915c997bdfbee339 100644
--- a/Source/modules/quota/StorageManager.idl
+++ b/Source/modules/quota/StorageManager.idl
@@ -12,7 +12,7 @@ enum PersistentStoragePermission { "default", "denied", "granted" };
GarbageCollected,
RuntimeEnabled=DurableStorage,
] interface StorageManager {
- [CallWith=ScriptState] Promise<boolean> requestPersistent();
+ [Exposed=Window, CallWith=ScriptState] Promise<boolean> requestPersistent();
[CallWith=ScriptState] Promise<PersistentStoragePermission> persistentPermission();
// TODO(dgrogan): Implement estimate() and persistentEstimate().

Powered by Google App Engine
This is Rietveld 408576698