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 a43bcc73027a5bb307627bf14017d07d2e6d48c1..15b6e17ba48ffca58d85a43ec5ad1285c624f68e 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 |
@@ -100,6 +100,15 @@ class ProvidedFileSystemInterface { |
int length, |
const ReadChunkReceivedCallback& callback) = 0; |
+ // Requests creating a directory. If |recursive| is passed, then all non |
+ // existing directories on the path will be created. If |exclusive| is true, |
+ // then creating the directory will fail, if it already exists. |
+ virtual void CreateDirectory( |
+ const base::FilePath& directory_path, |
+ bool exclusive, |
+ bool recursive, |
+ const fileapi::AsyncFileUtil::StatusCallback& callback) = 0; |
+ |
// Returns a provided file system info for this file system. |
virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const = 0; |