| 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..6d8a895dd7723a5a970571e583ac277a5ec8f440 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 <class DestinationPolicy>
|
| +class CreateDirectory : public Operation<DestinationPolicy> {
|
| public:
|
| - CreateDirectory(extensions::EventRouter* event_router,
|
| + CreateDirectory(typename DestinationPolicy::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<DestinationPolicy>);
|
| };
|
|
|
| } // namespace operations
|
|
|