Index: chrome/browser/chromeos/file_system_provider/operations/create_file.h |
diff --git a/chrome/browser/chromeos/file_system_provider/operations/create_file.h b/chrome/browser/chromeos/file_system_provider/operations/create_file.h |
index 9fcd295217de98e239b8160aaea82b52a308376a..b0e5d69cd24460098a0c5d23850f71bca37e02e6 100644 |
--- a/chrome/browser/chromeos/file_system_provider/operations/create_file.h |
+++ b/chrome/browser/chromeos/file_system_provider/operations/create_file.h |
@@ -17,19 +17,16 @@ namespace base { |
class FilePath; |
} // namespace base |
-namespace extensions { |
-class EventRouter; |
-} // namespace extensions |
- |
namespace chromeos { |
namespace file_system_provider { |
namespace operations { |
// Creates a file. If the file already exists, then the operation will fail with |
// the FILE_ERROR_EXISTS error. Created per request. |
-class CreateFile : public Operation { |
+template <int source> |
+class CreateFile : public Operation<source> { |
public: |
- CreateFile(extensions::EventRouter* event_router, |
+ CreateFile(typename Operation<source>::EventRouterType* event_router, |
const ProvidedFileSystemInfo& file_system_info, |
const base::FilePath& file_path, |
const storage::AsyncFileUtil::StatusCallback& callback); |
@@ -48,7 +45,7 @@ class CreateFile : public Operation { |
base::FilePath file_path_; |
const storage::AsyncFileUtil::StatusCallback callback_; |
- DISALLOW_COPY_AND_ASSIGN(CreateFile); |
+ DISALLOW_COPY_AND_ASSIGN(CreateFile<source>); |
}; |
} // namespace operations |