Index: chrome/browser/chromeos/file_system_provider/operations/read_directory.h |
diff --git a/chrome/browser/chromeos/file_system_provider/operations/read_directory.h b/chrome/browser/chromeos/file_system_provider/operations/read_directory.h |
index 3e1e3699dc68a202f3d378c876eba0901ef2480c..9f7d69d6df8a3e9ababcba1bbdf02a01d596630f 100644 |
--- a/chrome/browser/chromeos/file_system_provider/operations/read_directory.h |
+++ b/chrome/browser/chromeos/file_system_provider/operations/read_directory.h |
@@ -16,19 +16,16 @@ namespace base { |
class FilePath; |
} // namespace base |
-namespace extensions { |
-class EventRouter; |
-} // namespace extensions |
- |
namespace chromeos { |
namespace file_system_provider { |
namespace operations { |
// Bridge between fileapi read directory operation and providing extension's |
// read directory request. Created per request. |
-class ReadDirectory : public Operation { |
+template <int source> |
+class ReadDirectory : public Operation<source> { |
public: |
- ReadDirectory(extensions::EventRouter* event_router, |
+ ReadDirectory(typename Operation<source>::EventRouterType* event_router, |
const ProvidedFileSystemInfo& file_system_info, |
const base::FilePath& directory_path, |
const storage::AsyncFileUtil::ReadDirectoryCallback& callback); |
@@ -47,7 +44,7 @@ class ReadDirectory : public Operation { |
base::FilePath directory_path_; |
const storage::AsyncFileUtil::ReadDirectoryCallback callback_; |
- DISALLOW_COPY_AND_ASSIGN(ReadDirectory); |
+ DISALLOW_COPY_AND_ASSIGN(ReadDirectory<source>); |
}; |
} // namespace operations |