Index: chrome/browser/chromeos/file_system_provider/operations/read_file.h |
diff --git a/chrome/browser/chromeos/file_system_provider/operations/read_file.h b/chrome/browser/chromeos/file_system_provider/operations/read_file.h |
index b04e9b436c0f26e43a8d1f2563c90f5cc9aea2a2..eee50c9ba03d099907af8da968ea21c2422b6902 100644 |
--- a/chrome/browser/chromeos/file_system_provider/operations/read_file.h |
+++ b/chrome/browser/chromeos/file_system_provider/operations/read_file.h |
@@ -19,20 +19,17 @@ namespace base { |
class FilePath; |
} // namespace base |
-namespace extensions { |
-class EventRouter; |
-} // namespace extensions |
- |
namespace chromeos { |
namespace file_system_provider { |
namespace operations { |
// Bridge between fileapi read file and providing extension's read fil request. |
// Created per request. |
-class ReadFile : public Operation { |
+template <int source> |
+class ReadFile : public Operation<source> { |
public: |
ReadFile( |
- extensions::EventRouter* event_router, |
+ typename Operation<source>::EventRouterType* event_router, |
const ProvidedFileSystemInfo& file_system_info, |
int file_handle, |
scoped_refptr<net::IOBuffer> buffer, |
@@ -58,7 +55,7 @@ class ReadFile : public Operation { |
int64 current_offset_; |
const ProvidedFileSystemInterface::ReadChunkReceivedCallback callback_; |
- DISALLOW_COPY_AND_ASSIGN(ReadFile); |
+ DISALLOW_COPY_AND_ASSIGN(ReadFile<source>); |
}; |
} // namespace operations |