Index: chrome/browser/chromeos/file_system_provider/operations/unmount.h |
diff --git a/chrome/browser/chromeos/file_system_provider/operations/unmount.h b/chrome/browser/chromeos/file_system_provider/operations/unmount.h |
index 4b966afb6f61cd03643c1de84a74d4441e92edcf..6eb4fbfe82aa34e8e3cbefe1d85378111996aaf5 100644 |
--- a/chrome/browser/chromeos/file_system_provider/operations/unmount.h |
+++ b/chrome/browser/chromeos/file_system_provider/operations/unmount.h |
@@ -14,10 +14,6 @@ namespace base { |
class DictionaryValue; |
} // namespace base |
-namespace extensions { |
-class EventRouter; |
-} // namespace extensions |
- |
namespace chromeos { |
namespace file_system_provider { |
@@ -27,9 +23,10 @@ namespace operations { |
// Bridge between fileManagerPrivate's unmount operation and providing |
// extension's unmount request. Created per request. |
-class Unmount : public Operation { |
+template <int source> |
+class Unmount : public Operation<source> { |
public: |
- Unmount(extensions::EventRouter* event_router, |
+ Unmount(typename Operation<source>::EventRouterType* event_router, |
const ProvidedFileSystemInfo& file_system_info, |
const storage::AsyncFileUtil::StatusCallback& callback); |
~Unmount() override; |
@@ -46,7 +43,7 @@ class Unmount : public Operation { |
private: |
const storage::AsyncFileUtil::StatusCallback callback_; |
- DISALLOW_COPY_AND_ASSIGN(Unmount); |
+ DISALLOW_COPY_AND_ASSIGN(Unmount<source>); |
}; |
} // namespace operations |