OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 enum PersistentStoragePermission { "default", "denied", "granted" }; | |
6 | |
7 [ | |
8 Exposed=(Window,Worker), | |
9 TypeChecking=Interface, | |
10 GarbageCollected, | |
11 RuntimeEnabled=DurableStorage, | |
12 ] interface StorageManager { | |
13 [CallWith=ScriptState] Promise<PersistentStoragePermission> requestPersisten t(); | |
14 Promise<PersistentStoragePermission> persistentPermission(); | |
michaeln
2015/06/19 23:24:50
Is the worker part of that true? The strategy used
dgrogan
2015/06/30 00:48:44
The plan is that querying with persistentPermissio
| |
15 }; | |
OLD | NEW |