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