| Index: chrome/browser/chromeos/file_system_provider/operations/delete_entry.h
|
| diff --git a/chrome/browser/chromeos/file_system_provider/operations/delete_entry.h b/chrome/browser/chromeos/file_system_provider/operations/delete_entry.h
|
| index bab26d15acbf95374da9e36d09511e862d92b871..3b9712c2a00af43c4acc7bb5050e6c5c22e5c07c 100644
|
| --- a/chrome/browser/chromeos/file_system_provider/operations/delete_entry.h
|
| +++ b/chrome/browser/chromeos/file_system_provider/operations/delete_entry.h
|
| @@ -16,9 +16,6 @@ namespace base {
|
| class FilePath;
|
| } // namespace base
|
|
|
| -namespace extensions {
|
| -class EventRouter;
|
| -} // namespace extensions
|
|
|
| namespace chromeos {
|
| namespace file_system_provider {
|
| @@ -26,9 +23,10 @@ namespace operations {
|
|
|
| // Deletes an entry. If |recursive| is passed and the entry is a directory, then
|
| // all contents of it (recursively) will be deleted too. Created per request.
|
| -class DeleteEntry : public Operation {
|
| +template <class DestinationPolicy>
|
| +class DeleteEntry : public Operation<DestinationPolicy> {
|
| public:
|
| - DeleteEntry(extensions::EventRouter* event_router,
|
| + DeleteEntry(typename DestinationPolicy::EventRouterType* event_router,
|
| const ProvidedFileSystemInfo& file_system_info,
|
| const base::FilePath& entry_path,
|
| bool recursive,
|
| @@ -49,7 +47,7 @@ class DeleteEntry : public Operation {
|
| bool recursive_;
|
| const storage::AsyncFileUtil::StatusCallback callback_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(DeleteEntry);
|
| + DISALLOW_COPY_AND_ASSIGN(DeleteEntry<DestinationPolicy>);
|
| };
|
|
|
| } // namespace operations
|
|
|