Index: chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h |
diff --git a/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h b/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h |
index 7cf174d8a21ebf7aceacc63d1810a11301cb3d38..76be11d7f15f05a86bee57571873c244c9d6c34e 100644 |
--- a/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h |
+++ b/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h |
@@ -36,6 +36,12 @@ class ProvidedFileSystemInterface { |
virtual void GetMetadata( |
const base::FilePath& entry_path, |
const fileapi::AsyncFileUtil::GetFileInfoCallback& callback) = 0; |
+ // Requests enumerating entries from the passed |directory_path|. The callback |
+ // can be called multiple times until either an error is returned or the |
+ // has_more field is set to false. |
+ virtual void ReadDirectory( |
+ const base::FilePath& directory_path, |
+ const fileapi::AsyncFileUtil::ReadDirectoryCallback& callback) = 0; |
// Returns a provided file system info for this file system. |
virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const = 0; |