OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_WATCHER_MANAGER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_WATCHER_MANAGER_H_ |
| 7 |
| 8 #include "storage/browser/fileapi/watcher_manager.h" |
| 9 |
| 10 namespace storage { |
| 11 class FileSystemURL; |
| 12 } // namespace storage |
| 13 |
| 14 namespace chromeos { |
| 15 namespace file_system_provider { |
| 16 |
| 17 // Exposes entry watching capability to fileapi. |
| 18 class WatcherManager : public storage::WatcherManager { |
| 19 public: |
| 20 WatcherManager(); |
| 21 virtual ~WatcherManager(); |
| 22 |
| 23 // storage::WatcherManager overrides. |
| 24 virtual void AddWatcher( |
| 25 const storage::FileSystemURL& url, |
| 26 bool recursive, |
| 27 const StatusCallback& callback, |
| 28 const NotificationCallback& notification_callback) override; |
| 29 virtual void RemoveWatcher(const storage::FileSystemURL& url, |
| 30 bool recursive, |
| 31 const StatusCallback& callback) override; |
| 32 }; |
| 33 |
| 34 } // namespace file_system_provider |
| 35 } // namespace chromeos |
| 36 |
| 37 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_WATCHER_MANAGER_
H_ |
OLD | NEW |