| Index: chrome/browser/chromeos/file_system_provider/fileapi/watcher_manager.h
|
| diff --git a/chrome/browser/chromeos/file_system_provider/fileapi/watcher_manager.h b/chrome/browser/chromeos/file_system_provider/fileapi/watcher_manager.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e63fcaac5b434205ec7d397ee3a096d5fd01ef00
|
| --- /dev/null
|
| +++ b/chrome/browser/chromeos/file_system_provider/fileapi/watcher_manager.h
|
| @@ -0,0 +1,37 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_WATCHER_MANAGER_H_
|
| +#define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_WATCHER_MANAGER_H_
|
| +
|
| +#include "storage/browser/fileapi/watcher_manager.h"
|
| +
|
| +namespace storage {
|
| +class FileSystemURL;
|
| +} // namespace storage
|
| +
|
| +namespace chromeos {
|
| +namespace file_system_provider {
|
| +
|
| +// Exposes entry watching capability to fileapi.
|
| +class WatcherManager : public storage::WatcherManager {
|
| + public:
|
| + WatcherManager();
|
| + virtual ~WatcherManager();
|
| +
|
| + // storage::WatcherManager overrides.
|
| + virtual void AddWatcher(
|
| + const storage::FileSystemURL& url,
|
| + bool recursive,
|
| + const StatusCallback& callback,
|
| + const NotificationCallback& notification_callback) override;
|
| + virtual void RemoveWatcher(const storage::FileSystemURL& url,
|
| + bool recursive,
|
| + const StatusCallback& callback) override;
|
| +};
|
| +
|
| +} // namespace file_system_provider
|
| +} // namespace chromeos
|
| +
|
| +#endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_WATCHER_MANAGER_H_
|
|
|