#include "content/browser/file_system_access/file_system_access_bucket_path_watcher.h"
#include "base/files/file_path.h"
#include "base/functional/bind.h"
#include "base/memory/scoped_refptr.h"
#include "base/sequence_checker.h"
#include "base/task/bind_post_task.h"
#include "base/task/sequenced_task_runner.h"
#include "base/threading/sequence_bound.h"
#include "content/browser/file_system_access/file_system_access_error.h"
#include "content/browser/file_system_access/file_system_access_watcher_manager.h"
#include "storage/browser/file_system/file_observers.h"
#include "storage/browser/file_system/file_system_url.h"
#include "storage/browser/file_system/sandbox_file_system_backend_delegate.h"
namespace content {
FileSystemAccessBucketPathWatcher::FileSystemAccessBucketPathWatcher(
scoped_refptr<storage::FileSystemContext> file_system_context,
base::PassKey<FileSystemAccessWatcherManager> )
: … { … }
FileSystemAccessBucketPathWatcher::~FileSystemAccessBucketPathWatcher() =
default;
void FileSystemAccessBucketPathWatcher::Initialize(
base::OnceCallback<void(blink::mojom::FileSystemAccessErrorPtr)>
on_source_initialized) { … }
void FileSystemAccessBucketPathWatcher::OnCreateFile(
const storage::FileSystemURL& url) { … }
void FileSystemAccessBucketPathWatcher::OnCreateFileFrom(
const storage::FileSystemURL& url,
const storage::FileSystemURL& src) { … }
void FileSystemAccessBucketPathWatcher::OnMoveFileFrom(
const storage::FileSystemURL& url,
const storage::FileSystemURL& src) { … }
void FileSystemAccessBucketPathWatcher::OnRemoveFile(
const storage::FileSystemURL& url) { … }
void FileSystemAccessBucketPathWatcher::OnModifyFile(
const storage::FileSystemURL& url) { … }
void FileSystemAccessBucketPathWatcher::OnCreateDirectory(
const storage::FileSystemURL& url) { … }
void FileSystemAccessBucketPathWatcher::OnRemoveDirectory(
const storage::FileSystemURL& url) { … }
}