Index: chrome/browser/chromeos/file_system_provider/operations/write_file.h |
diff --git a/chrome/browser/chromeos/file_system_provider/operations/write_file.h b/chrome/browser/chromeos/file_system_provider/operations/write_file.h |
index c9b220fbb001192bf3725168063ad25360c5a872..07e2e9d0575c6530d59942146c1530632643d01a 100644 |
--- a/chrome/browser/chromeos/file_system_provider/operations/write_file.h |
+++ b/chrome/browser/chromeos/file_system_provider/operations/write_file.h |
@@ -19,10 +19,6 @@ namespace base { |
class FilePath; |
} // namespace base |
-namespace extensions { |
-class EventRouter; |
-} // namespace extensions |
- |
namespace chromeos { |
namespace file_system_provider { |
namespace operations { |
@@ -30,9 +26,10 @@ namespace operations { |
// Bridge between fileapi write file and providing extension's write fil |
// request. |
// Created per request. |
-class WriteFile : public Operation { |
+template <int source> |
+class WriteFile : public Operation<source> { |
public: |
- WriteFile(extensions::EventRouter* event_router, |
+ WriteFile(typename Operation<source>::EventRouterType* event_router, |
const ProvidedFileSystemInfo& file_system_info, |
int file_handle, |
scoped_refptr<net::IOBuffer> buffer, |
@@ -57,7 +54,7 @@ class WriteFile : public Operation { |
int length_; |
const storage::AsyncFileUtil::StatusCallback callback_; |
- DISALLOW_COPY_AND_ASSIGN(WriteFile); |
+ DISALLOW_COPY_AND_ASSIGN(WriteFile<source>); |
}; |
} // namespace operations |