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

Side by Side Diff: chrome/browser/chromeos/file_system_provider/fileapi/watcher_manager.h

Issue 689603002: [fsp] Implement storage::WatcherManager for FSP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed. Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698