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"
15 } // namespace storage
19 class MTPWatcherManager
: public storage::WatcherManager
{
21 explicit MTPWatcherManager(
22 DeviceMediaAsyncFileUtil
* device_media_async_file_util
);
23 ~MTPWatcherManager() override
;
25 void AddWatcher(const storage::FileSystemURL
& url
,
27 const StatusCallback
& callback
,
28 const NotificationCallback
& notification_callback
) override
;
30 void RemoveWatcher(const storage::FileSystemURL
& url
,
32 const StatusCallback
& callback
) override
;
35 DeviceMediaAsyncFileUtil
* const device_media_async_file_util_
;
38 } // namespace chromeos
40 #endif // CHROME_BROWSER_CHROMEOS_FILEAPI_MTP_WATCHER_MANAGER_H_