tree: e3f9eeb1f9cc3ca53c8c9fbaa485463fe14631f3 [path history] [tgz]
  1. allow_shared_buffer_source_util.h
  2. bucket_file_system_agent.cc
  3. bucket_file_system_agent.h
  4. bucket_file_system_builder.cc
  5. bucket_file_system_builder.h
  6. BUILD.gn
  7. data_transfer_item_file_system_access.cc
  8. data_transfer_item_file_system_access.h
  9. data_transfer_item_file_system_access.idl
  10. DEPS
  11. DIR_METADATA
  12. directory_picker_options.idl
  13. file_picker_accept_type.idl
  14. file_picker_options.idl
  15. file_system_access_capacity_tracker.cc
  16. file_system_access_capacity_tracker.h
  17. file_system_access_error.cc
  18. file_system_access_error.h
  19. file_system_access_file_delegate.h
  20. file_system_access_incognito_file_delegate.cc
  21. file_system_access_incognito_file_delegate.h
  22. file_system_access_manager.cc
  23. file_system_access_manager.h
  24. file_system_access_regular_file_delegate.cc
  25. file_system_access_regular_file_delegate.h
  26. file_system_change_record.idl
  27. file_system_cloud_identifier.idl
  28. file_system_create_sync_access_handle_options.idl
  29. file_system_create_writable_options.idl
  30. file_system_directory_handle.cc
  31. file_system_directory_handle.h
  32. file_system_directory_handle.idl
  33. file_system_file_handle.cc
  34. file_system_file_handle.h
  35. file_system_file_handle.idl
  36. file_system_get_directory_options.idl
  37. file_system_get_file_options.idl
  38. file_system_handle.cc
  39. file_system_handle.h
  40. file_system_handle.idl
  41. file_system_handle_permission_descriptor.idl
  42. file_system_observation.cc
  43. file_system_observation.h
  44. file_system_observation_collection.cc
  45. file_system_observation_collection.h
  46. file_system_observer.cc
  47. file_system_observer.h
  48. file_system_observer.idl
  49. file_system_observer_callback.idl
  50. file_system_observer_observe_options.idl
  51. file_system_read_write_options.idl
  52. file_system_remove_options.idl
  53. file_system_sync_access_handle.cc
  54. file_system_sync_access_handle.h
  55. file_system_sync_access_handle.idl
  56. file_system_underlying_sink.cc
  57. file_system_underlying_sink.h
  58. file_system_writable_file_stream.cc
  59. file_system_writable_file_stream.h
  60. file_system_writable_file_stream.idl
  61. global_file_system_access.cc
  62. global_file_system_access.h
  63. global_file_system_access_test.cc
  64. open_file_picker_options.idl
  65. OWNERS
  66. README.md
  67. save_file_picker_options.idl
  68. storage_manager_file_system_access.cc
  69. storage_manager_file_system_access.h
  70. storage_manager_file_system_access.idl
  71. window_file_system_access.idl
  72. write_params.idl
third_party/blink/renderer/modules/file_system_access/README.md

File System Access API

This directory contains the renderer side implementation of the file system access API.

Related directories

//content/browser/file_system_access/ contains the browser side implementation and blink/public/mojom/file_system_access contains the mojom interfaces for these APIs.

APIs In this directory

This directory contains the implementation of the File System Access API. This API spans two specifications:

It consists of the following parts:

  • FileSystemHandle, FileSystemFileHandle and FileSystemDirectoryHandle: these interfaces mimic the old Entry interfaces, but expose a more modern promisified API.

  • StorageManager.getDirectory: An entry point that gives access to the same sandboxed filesystem as what is available through the old API.

  • FileSystemWritableFileStream: a more modern API with similar functionality to the old FileWriter API. The implementation of this actually does make use of a different mojom interface than the old API. But since the functionality is mostly the same, hopefully we will be able to migrate the old implementation to the new mojom API as well.

  • showOpenFilePicker, showSaveFilePicker and showDirectorPicker: Entry points on window, that let a website pop-up a file or directory picker, prompting the user to select one or more files or directories, to which the website than gets access.