Index: chrome/browser/chromeos/file_system_provider/operations/truncate.h |
diff --git a/chrome/browser/chromeos/file_system_provider/operations/truncate.h b/chrome/browser/chromeos/file_system_provider/operations/truncate.h |
index 079626559222cb73fc21d79f8f41d2a5583ddbff..1aa865638c0bdcc88f994947d724a06593ed9924 100644 |
--- a/chrome/browser/chromeos/file_system_provider/operations/truncate.h |
+++ b/chrome/browser/chromeos/file_system_provider/operations/truncate.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 Truncate : public Operation { |
+template <int source> |
+class Truncate : public Operation<source> { |
public: |
- Truncate(extensions::EventRouter* event_router, |
+ Truncate(typename Operation<source>::EventRouterType* event_router, |
const ProvidedFileSystemInfo& file_system_info, |
const base::FilePath& file_path, |
int64 length, |
@@ -50,7 +47,7 @@ class Truncate : public Operation { |
int64 length_; |
const storage::AsyncFileUtil::StatusCallback callback_; |
- DISALLOW_COPY_AND_ASSIGN(Truncate); |
+ DISALLOW_COPY_AND_ASSIGN(Truncate<source>); |
}; |
} // namespace operations |