Index: chrome/browser/chromeos/file_system_provider/operations/close_file.h |
diff --git a/chrome/browser/chromeos/file_system_provider/operations/close_file.h b/chrome/browser/chromeos/file_system_provider/operations/close_file.h |
index 0d52a070eb178dc8baba160c43495b9870e90954..e41bfc370bf17a8254f85db23812e54206876bac 100644 |
--- a/chrome/browser/chromeos/file_system_provider/operations/close_file.h |
+++ b/chrome/browser/chromeos/file_system_provider/operations/close_file.h |
@@ -17,10 +17,6 @@ namespace base { |
class FilePath; |
} // namespace base |
-namespace extensions { |
-class EventRouter; |
-} // namespace extensions |
- |
namespace chromeos { |
namespace file_system_provider { |
namespace operations { |
@@ -28,9 +24,10 @@ namespace operations { |
// Opens a file for either read or write, with optionally creating the file |
// first. Note, that this is part of storage::CreateOrOpen file, but it does |
// not download the file locally. Created per request. |
-class CloseFile : public Operation { |
+template <int source> |
+class CloseFile : public Operation<source> { |
public: |
- CloseFile(extensions::EventRouter* event_router, |
+ CloseFile(typename Operation<source>::EventRouterType* event_router, |
const ProvidedFileSystemInfo& file_system_info, |
int open_request_id, |
const storage::AsyncFileUtil::StatusCallback& callback); |
@@ -49,7 +46,7 @@ class CloseFile : public Operation { |
int open_request_id_; |
const storage::AsyncFileUtil::StatusCallback callback_; |
- DISALLOW_COPY_AND_ASSIGN(CloseFile); |
+ DISALLOW_COPY_AND_ASSIGN(CloseFile<source>); |
}; |
} // namespace operations |