#include "content/browser/file_system_access/file_system_access_watch_scope.h"
#include "storage/browser/file_system/file_system_url.h"
#include "storage/common/file_system/file_system_types.h"
#include "storage/common/file_system/file_system_util.h"
namespace content {
namespace {
bool IsStrictParent(const storage::FileSystemURL& parent,
const storage::FileSystemURL& child) { … }
}
FileSystemAccessWatchScope FileSystemAccessWatchScope::GetScopeForFileWatch(
const storage::FileSystemURL& file_url) { … }
FileSystemAccessWatchScope
FileSystemAccessWatchScope::GetScopeForDirectoryWatch(
const storage::FileSystemURL& directory_url,
bool is_recursive) { … }
FileSystemAccessWatchScope
FileSystemAccessWatchScope::GetScopeForAllBucketFileSystems() { … }
FileSystemAccessWatchScope::FileSystemAccessWatchScope(
storage::FileSystemURL root_url,
WatchType watch_type)
: … { … }
FileSystemAccessWatchScope::~FileSystemAccessWatchScope() = default;
FileSystemAccessWatchScope::FileSystemAccessWatchScope(
const FileSystemAccessWatchScope&) = default;
FileSystemAccessWatchScope::FileSystemAccessWatchScope(
FileSystemAccessWatchScope&&) noexcept = default;
FileSystemAccessWatchScope& FileSystemAccessWatchScope::operator=(
const FileSystemAccessWatchScope&) = default;
FileSystemAccessWatchScope& FileSystemAccessWatchScope::operator=(
FileSystemAccessWatchScope&&) noexcept = default;
bool FileSystemAccessWatchScope::Contains(
const storage::FileSystemURL& url) const { … }
bool FileSystemAccessWatchScope::Contains(
const FileSystemAccessWatchScope& scope) const { … }
}