| Index: chrome/browser/chromeos/file_system_provider/operations/add_watcher.h
|
| diff --git a/chrome/browser/chromeos/file_system_provider/operations/add_watcher.h b/chrome/browser/chromeos/file_system_provider/operations/add_watcher.h
|
| index d938744122d9e428da0915a4523ba0214094f98b..be65530b52b91d038252edea0ad35d5b83f6105e 100644
|
| --- a/chrome/browser/chromeos/file_system_provider/operations/add_watcher.h
|
| +++ b/chrome/browser/chromeos/file_system_provider/operations/add_watcher.h
|
| @@ -17,10 +17,6 @@ namespace base {
|
| class FilePath;
|
| } // namespace base
|
|
|
| -namespace extensions {
|
| -class EventRouter;
|
| -} // namespace extensions
|
| -
|
| namespace chromeos {
|
| namespace file_system_provider {
|
| namespace operations {
|
| @@ -28,9 +24,11 @@ namespace operations {
|
| // Adds a watcher. If |recursive| is true, than also watches for all of the
|
| // child entries in within, recursively. Recursive must not be set to true for
|
| // files.
|
| -class AddWatcher : public Operation {
|
| +template <class DestinationPolicy>
|
| +class AddWatcher : public Operation<DestinationPolicy> {
|
| public:
|
| - AddWatcher(extensions::EventRouter* event_router,
|
| + AddWatcher(typename Operation<DestinationPolicy>::EventRouterType*
|
| + event_router,
|
| const ProvidedFileSystemInfo& file_system_info,
|
| const base::FilePath& entry_path,
|
| bool recursive,
|
| @@ -51,7 +49,7 @@ class AddWatcher : public Operation {
|
| const bool recursive_;
|
| const storage::AsyncFileUtil::StatusCallback callback_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(AddWatcher);
|
| + DISALLOW_COPY_AND_ASSIGN(AddWatcher<DestinationPolicy>);
|
| };
|
|
|
| } // namespace operations
|
|
|