Index: chrome/browser/chromeos/file_system_provider/operations/move_entry.h |
diff --git a/chrome/browser/chromeos/file_system_provider/operations/move_entry.h b/chrome/browser/chromeos/file_system_provider/operations/move_entry.h |
index 08aa4416b43e85f9f5ffb89eb0644b948919f5eb..6b71b34656d635cfd0e4676a6d925b272b44ea80 100644 |
--- a/chrome/browser/chromeos/file_system_provider/operations/move_entry.h |
+++ b/chrome/browser/chromeos/file_system_provider/operations/move_entry.h |
@@ -17,18 +17,15 @@ namespace base { |
class FilePath; |
} // namespace base |
-namespace extensions { |
-class EventRouter; |
-} // namespace extensions |
- |
namespace chromeos { |
namespace file_system_provider { |
namespace operations { |
// Copies an entry (recursively if a directory). Created per request. |
-class MoveEntry : public Operation { |
+template <int source> |
+class MoveEntry : public Operation<source> { |
public: |
- MoveEntry(extensions::EventRouter* event_router, |
+ MoveEntry(typename Operation<source>::EventRouterType* event_router, |
const ProvidedFileSystemInfo& file_system_info, |
const base::FilePath& source_path, |
const base::FilePath& target_path, |
@@ -49,7 +46,7 @@ class MoveEntry : public Operation { |
base::FilePath target_path_; |
const storage::AsyncFileUtil::StatusCallback callback_; |
- DISALLOW_COPY_AND_ASSIGN(MoveEntry); |
+ DISALLOW_COPY_AND_ASSIGN(MoveEntry<source>); |
}; |
} // namespace operations |