tree: 09e784d283280a20abd6515e5b0a46466ccdaa8f [path history] [tgz]
  1. async_callback_helper.h
  2. BUILD.gn
  3. COMMON_METADATA
  4. data_transfer_item_file_system.cc
  5. data_transfer_item_file_system.h
  6. data_transfer_item_file_system.idl
  7. dedicated_worker_global_scope_file_system.idl
  8. DEPS
  9. dev_tools_host_file_system.cc
  10. dev_tools_host_file_system.h
  11. dev_tools_host_file_system.idl
  12. DIR_METADATA
  13. directory_entry.cc
  14. directory_entry.h
  15. directory_entry.idl
  16. directory_entry_sync.cc
  17. directory_entry_sync.h
  18. directory_entry_sync.idl
  19. directory_reader.cc
  20. directory_reader.h
  21. directory_reader.idl
  22. directory_reader_base.h
  23. directory_reader_sync.cc
  24. directory_reader_sync.h
  25. directory_reader_sync.idl
  26. dom_file_path.cc
  27. dom_file_path.h
  28. dom_file_system.cc
  29. dom_file_system.h
  30. dom_file_system.idl
  31. dom_file_system_base.cc
  32. dom_file_system_base.h
  33. dom_file_system_base_test.cc
  34. dom_file_system_sync.cc
  35. dom_file_system_sync.h
  36. dom_file_system_sync.idl
  37. dom_window_file_system.cc
  38. dom_window_file_system.h
  39. dragged_isolated_file_system_impl.cc
  40. dragged_isolated_file_system_impl.h
  41. entries_callback.idl
  42. entry.cc
  43. entry.h
  44. entry.idl
  45. entry_base.cc
  46. entry_base.h
  47. entry_callback.idl
  48. entry_heap_vector.h
  49. entry_sync.cc
  50. entry_sync.h
  51. entry_sync.idl
  52. error_callback.idl
  53. file_callback.idl
  54. file_entry.cc
  55. file_entry.h
  56. file_entry.idl
  57. file_entry_sync.cc
  58. file_entry_sync.h
  59. file_entry_sync.idl
  60. file_system_callback.idl
  61. file_system_callbacks.cc
  62. file_system_callbacks.h
  63. file_system_dispatcher.cc
  64. file_system_dispatcher.h
  65. file_system_flags.idl
  66. file_writer.cc
  67. file_writer.h
  68. file_writer.idl
  69. file_writer_base.cc
  70. file_writer_base.h
  71. file_writer_callback.idl
  72. file_writer_sync.cc
  73. file_writer_sync.h
  74. file_writer_sync.idl
  75. file_writer_test.cc
  76. html_input_element_file_system.cc
  77. html_input_element_file_system.h
  78. html_input_element_file_system.idl
  79. local_file_system.cc
  80. local_file_system.h
  81. metadata.cc
  82. metadata.h
  83. metadata.idl
  84. metadata_callback.idl
  85. OWNERS
  86. README.md
  87. shared_worker_global_scope_file_system.idl
  88. sync_callback_helper.h
  89. window_file_system.idl
  90. worker_global_scope_file_system.cc
  91. worker_global_scope_file_system.h
third_party/blink/renderer/modules/filesystem/README.md

FileSystem API

This directory contains the renderer side implementation of various filesystem related APIs.

Related directories

//storage/browser/file_system/ contains part of the browser side implementation, while //content/browser/file_system/ contains the rest of the browser side implementation and blink/public/mojom/filesystem contains the mojom interfaces for these APIs.

APIs In this directory

File and Directory Entries API

First of all this directory contains the implementation of the Entries API. This API consists of types to expose read-only access to file and directory entries to the web, primarily used by drag-and-drop and <input type=file>. Our implementation doesn't match the interface names of the spec, but otherwise should be pretty close to the spec.

TODO(mek): More details

File API: Directories and FileSystem

Secondly this directory contains the implementation of something similar to the deprecated w3c file-system-api. This API is very similar to the previous Entries API, but it also adds support for writing and modifying to files and directories, as well as a way to get access to a origin scoped sandboxed filesystem.

TODO(mek): More details