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