summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/file_system_access/storage_manager_file_system_access.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/file_system_access/storage_manager_file_system_access.idl')
-rw-r--r--chromium/third_party/blink/renderer/modules/file_system_access/storage_manager_file_system_access.idl13
1 files changed, 13 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/modules/file_system_access/storage_manager_file_system_access.idl b/chromium/third_party/blink/renderer/modules/file_system_access/storage_manager_file_system_access.idl
new file mode 100644
index 00000000000..d73337e3f00
--- /dev/null
+++ b/chromium/third_party/blink/renderer/modules/file_system_access/storage_manager_file_system_access.idl
@@ -0,0 +1,13 @@
+// Copyright 2020 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// https://wicg.github.io/file-system-access/#sandboxed-filesystem
+[
+ SecureContext,
+ RuntimeEnabled=FileSystemAccess,
+ ImplementedAs=StorageManagerFileSystemAccess
+] partial interface StorageManager {
+ [CallWith=ScriptState, RaisesException, Measure]
+ Promise<FileSystemDirectoryHandle> getDirectory();
+};