Index: chrome/browser/chromeos/file_system_provider/operations/copy_entry.h |
diff --git a/chrome/browser/chromeos/file_system_provider/operations/copy_entry.h b/chrome/browser/chromeos/file_system_provider/operations/copy_entry.h |
index 6fba429ef299b9fdb882895ce86859184243b8e4..399d6cbde03616907eeb588a22a4ce2fd7924c42 100644 |
--- a/chrome/browser/chromeos/file_system_provider/operations/copy_entry.h |
+++ b/chrome/browser/chromeos/file_system_provider/operations/copy_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 CopyEntry : public Operation { |
+template <int source> |
+class CopyEntry : public Operation<source> { |
public: |
- CopyEntry(extensions::EventRouter* event_router, |
+ CopyEntry(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 CopyEntry : public Operation { |
base::FilePath target_path_; |
const storage::AsyncFileUtil::StatusCallback callback_; |
- DISALLOW_COPY_AND_ASSIGN(CopyEntry); |
+ DISALLOW_COPY_AND_ASSIGN(CopyEntry<source>); |
}; |
} // namespace operations |