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"
12 } // namespace storage
15 namespace file_system_provider
{
17 // Exposes entry watching capability to fileapi.
18 class WatcherManager
: public storage::WatcherManager
{
21 ~WatcherManager() override
;
23 // storage::WatcherManager overrides.
24 void AddWatcher(const storage::FileSystemURL
& url
,
26 const StatusCallback
& callback
,
27 const NotificationCallback
& notification_callback
) override
;
28 void RemoveWatcher(const storage::FileSystemURL
& url
,
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_