Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / chrome / browser / chromeos / file_system_provider / fileapi / watcher_manager.h
blob5c72f156bfae7eae5a19599533a5e556cce667dc
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_WATCHER_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_WATCHER_MANAGER_H_
8 #include "storage/browser/fileapi/watcher_manager.h"
10 namespace storage {
11 class FileSystemURL;
12 } // namespace storage
14 namespace chromeos {
15 namespace file_system_provider {
17 // Exposes entry watching capability to fileapi.
18 class WatcherManager : public storage::WatcherManager {
19 public:
20 WatcherManager();
21 ~WatcherManager() override;
23 // storage::WatcherManager overrides.
24 void AddWatcher(const storage::FileSystemURL& url,
25 bool recursive,
26 const StatusCallback& callback,
27 const NotificationCallback& notification_callback) override;
28 void RemoveWatcher(const storage::FileSystemURL& url,
29 bool recursive,
30 const StatusCallback& callback) override;
33 } // namespace file_system_provider
34 } // namespace chromeos
36 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_WATCHER_MANAGER_H_