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" }; | |
jsbell
2015/07/01 17:43:30
Please add spec link, e.g.
// https://storage.spe
dgrogan
2015/07/07 04:03:25
Done.
| |
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(); | |
jsbell
2015/07/01 17:43:30
Add TODOs for the parts of the spec that aren't in
dgrogan
2015/07/07 04:03:24
Done.
| |
15 }; | |
OLD | NEW |