tree: 5d9a08a5b697aab11621d93984f602cdd0adc3fe [path history] [tgz]
  1. DEPS
  2. OWNERS
  3. README.md
  4. browser_file_system_helper.cc
  5. browser_file_system_helper.h
  6. browser_file_system_helper_unittest.cc
  7. file_system_browsertest.cc
  8. file_system_chooser.cc
  9. file_system_chooser.h
  10. file_system_chooser_browsertest.cc
  11. file_system_chooser_test_helpers.cc
  12. file_system_chooser_test_helpers.h
  13. file_system_chooser_unittest.cc
  14. file_system_manager_impl.cc
  15. file_system_manager_impl.h
  16. file_system_operation_runner_unittest.cc
  17. file_system_url_loader_factory.cc
  18. file_system_url_loader_factory.h
  19. file_system_url_loader_factory_browsertest.cc
  20. fileapi_browsertest.cc
content/browser/fileapi/README.md

FileSystem API

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

Related directories

//storage/browser/fileapi/ contains the rest of the browser side implementation, while blink/renderer/modules/filesystem contains the renderer side implementation and blink/public/mojom/filesystem contains the mojom interfaces for these APIs.

In this directory

FileSystemManagerImpl is the main entry point for calls from the renderer, it mostly redirects incoming mojom calls to a storage::FileSystemContext instance.

FileSystemChooser uses ui::SelectFileDialog to show a file or directory picker, and is responsible for granting a process the right permissions for actually accessing the files that were selected.