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

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: 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();
dgrogan 2015/08/20 23:15:11 Here.
[CallWith=ScriptState] Promise<PersistentStoragePermission> persistentPermission();
// TODO(dgrogan): Implement estimate() and persistentEstimate().
« no previous file with comments | « LayoutTests/http/tests/storage/resources/durability-worker.js ('k') | Source/modules/quota/WorkerNavigatorStorageQuota.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698