Add ICU message format support
[chromium-blink-merge.git] / chrome / browser / chromeos / fileapi / mtp_watcher_manager.h
blob613d5eeec6445a64d12b85a434f0e15c1fc4c952
1 // Copyright 2015 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_FILEAPI_MTP_WATCHER_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_FILEAPI_MTP_WATCHER_MANAGER_H_
8 #include "chrome/browser/media_galleries/fileapi/device_media_async_file_util.h"
9 #include "storage/browser/fileapi/watcher_manager.h"
11 namespace storage {
13 class FileSystemURL;
15 } // namespace storage
17 namespace chromeos {
19 class MTPWatcherManager : public storage::WatcherManager {
20 public:
21 explicit MTPWatcherManager(
22 DeviceMediaAsyncFileUtil* device_media_async_file_util);
23 ~MTPWatcherManager() override;
25 void AddWatcher(const storage::FileSystemURL& url,
26 bool recursive,
27 const StatusCallback& callback,
28 const NotificationCallback& notification_callback) override;
30 void RemoveWatcher(const storage::FileSystemURL& url,
31 bool recursive,
32 const StatusCallback& callback) override;
34 private:
35 DeviceMediaAsyncFileUtil* const device_media_async_file_util_;
38 } // namespace chromeos
40 #endif // CHROME_BROWSER_CHROMEOS_FILEAPI_MTP_WATCHER_MANAGER_H_