Index: chrome/browser/chromeos/file_system_provider/operations/create_directory.h |
diff --git a/chrome/browser/chromeos/file_system_provider/operations/create_directory.h b/chrome/browser/chromeos/file_system_provider/operations/create_directory.h |
index ed57b8dde747a6d18ca0655da1f4b070cf43c440..bf250ad0446ec77b339a6bf25d3144ba13eb2f41 100644 |
--- a/chrome/browser/chromeos/file_system_provider/operations/create_directory.h |
+++ b/chrome/browser/chromeos/file_system_provider/operations/create_directory.h |
@@ -16,10 +16,6 @@ namespace base { |
class FilePath; |
} // namespace base |
-namespace extensions { |
-class EventRouter; |
-} // namespace extensions |
- |
namespace chromeos { |
namespace file_system_provider { |
namespace operations { |
@@ -27,9 +23,10 @@ namespace operations { |
// Creates a directory. If |recursive| is set to true, then creates also all |
// non-existing directories on the path. The operation will fail if the |
// directory already exists. Created per request. |
-class CreateDirectory : public Operation { |
+template <int source> |
+class CreateDirectory : public Operation<source> { |
public: |
- CreateDirectory(extensions::EventRouter* event_router, |
+ CreateDirectory(typename Operation<source>::EventRouterType* event_router, |
const ProvidedFileSystemInfo& file_system_info, |
const base::FilePath& directory_path, |
bool recursive, |
@@ -50,7 +47,7 @@ class CreateDirectory : public Operation { |
bool recursive_; |
const storage::AsyncFileUtil::StatusCallback callback_; |
- DISALLOW_COPY_AND_ASSIGN(CreateDirectory); |
+ DISALLOW_COPY_AND_ASSIGN(CreateDirectory<source>); |
}; |
} // namespace operations |