chromium/third_party/blink/renderer/modules/file_system_access/file_system_handle_permission_descriptor.idl

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// http://wicg.github.io/file-system-access/#enumdef-filesystempermissionmode
enum FileSystemPermissionMode {
  "read",
  "readwrite"
};

// http://wicg.github.io/file-system-access/#dictdef-filesystemhandlepermissiondescriptor
dictionary FileSystemHandlePermissionDescriptor {
  FileSystemPermissionMode mode = "read";
};