| 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..f8c52b9174b4b87ce016271f18898995db95d45d 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 <class DestinationPolicy>
|
| +class Unmount : public Operation<DestinationPolicy> {
|
| public:
|
| - Unmount(extensions::EventRouter* event_router,
|
| + Unmount(typename DestinationPolicy::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<DestinationPolicy>);
|
| };
|
|
|
| } // namespace operations
|
|
|