Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4459)

Unified Diff: chrome/browser/chromeos/file_system_provider/operations/remove_watcher.h

Issue 1093383002: [WIP] Provided file system from NACL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved several modules to chromeos folder. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698