Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / chromeos / file_system_provider / operations / create_directory.h
index 0de1205..d693c0f 100644 (file)
@@ -11,7 +11,7 @@
 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info.h"
 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h"
 #include "chrome/browser/chromeos/file_system_provider/request_value.h"
-#include "webkit/browser/fileapi/async_file_util.h"
+#include "storage/browser/fileapi/async_file_util.h"
 
 namespace base {
 class FilePath;
@@ -26,16 +26,15 @@ namespace file_system_provider {
 namespace operations {
 
 // Creates a directory. If |recursive| is set to true, then creates also all
-// non-existing directories on the path. If |exclusive| is true, then the
-// operation will fail if the directory already exists. Created per request.
+// non-existing directories on the path. The operation will fail if the
+// directory already exists. Created per request.
 class CreateDirectory : public Operation {
  public:
   CreateDirectory(extensions::EventRouter* event_router,
                   const ProvidedFileSystemInfo& file_system_info,
                   const base::FilePath& directory_path,
-                  bool exclusive,
                   bool recursive,
-                  const fileapi::AsyncFileUtil::StatusCallback& callback);
+                  const storage::AsyncFileUtil::StatusCallback& callback);
   virtual ~CreateDirectory();
 
   // Operation overrides.
@@ -50,9 +49,8 @@ class CreateDirectory : public Operation {
  private:
   base::FilePath directory_path_;
   ProvidedFileSystemInterface::OpenFileMode mode_;
-  bool exclusive_;
   bool recursive_;
-  const fileapi::AsyncFileUtil::StatusCallback callback_;
+  const storage::AsyncFileUtil::StatusCallback callback_;
 
   DISALLOW_COPY_AND_ASSIGN(CreateDirectory);
 };