| Index: chrome/browser/chromeos/file_system_provider/operations/remove_watcher.h
|
| diff --git a/chrome/browser/chromeos/file_system_provider/operations/remove_watcher.h b/chrome/browser/chromeos/file_system_provider/operations/remove_watcher.h
|
| index b054348538037e0c47a8439098d13fc8bf70abc7..7fdd830265e3016358854bf00978cc444144e146 100644
|
| --- a/chrome/browser/chromeos/file_system_provider/operations/remove_watcher.h
|
| +++ b/chrome/browser/chromeos/file_system_provider/operations/remove_watcher.h
|
| @@ -17,18 +17,15 @@ namespace base {
|
| class FilePath;
|
| } // namespace base
|
|
|
| -namespace extensions {
|
| -class EventRouter;
|
| -} // namespace extensions
|
| -
|
| namespace chromeos {
|
| namespace file_system_provider {
|
| namespace operations {
|
|
|
| // Removes a watcher at |entry_path| with the |recursive| mode.
|
| -class RemoveWatcher : public Operation {
|
| +template <class DestinationPolicy>
|
| +class RemoveWatcher : public Operation<DestinationPolicy> {
|
| public:
|
| - RemoveWatcher(extensions::EventRouter* event_router,
|
| + RemoveWatcher(typename DestinationPolicy::EventRouterType* event_router,
|
| const ProvidedFileSystemInfo& file_system_info,
|
| const base::FilePath& entry_path,
|
| bool recursive,
|
| @@ -49,7 +46,7 @@ class RemoveWatcher : public Operation {
|
| bool recursive_;
|
| const storage::AsyncFileUtil::StatusCallback callback_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(RemoveWatcher);
|
| + DISALLOW_COPY_AND_ASSIGN(RemoveWatcher<DestinationPolicy>);
|
| };
|
|
|
| } // namespace operations
|
|
|