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..9a74967b94a37a00574ffbaf103d692a572b8504 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 <int source> |
+class DeleteEntry : public Operation<source> { |
public: |
- DeleteEntry(extensions::EventRouter* event_router, |
+ DeleteEntry(typename Operation<source>::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<source>); |
}; |
} // namespace operations |