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(); |
| 15 }; |
OLD | NEW |