#include "chrome/browser/sync_file_system/syncable_file_system_util.h"
#include <vector>
#include "base/command_line.h"
#include "base/location.h"
#include "base/strings/string_util.h"
#include "base/task/single_thread_task_runner.h"
#include "storage/browser/file_system/external_mount_points.h"
#include "storage/browser/file_system/file_observers.h"
#include "storage/browser/file_system/file_system_context.h"
#include "storage/common/file_system/file_system_util.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"
#include "url/gurl.h"
#include "url/origin.h"
ExternalMountPoints;
FileSystemContext;
FileSystemURL;
namespace sync_file_system {
namespace {
const char kSyncableMountName[] = …;
const char kSyncableMountNameForInternalSync[] = …;
const base::FilePath::CharType kSyncFileSystemDir[] = …);
}
void RegisterSyncableFileSystem() { … }
void RevokeSyncableFileSystem() { … }
GURL GetSyncableFileSystemRootURI(const GURL& origin) { … }
FileSystemURL CreateSyncableFileSystemURL(const GURL& origin,
const base::FilePath& path) { … }
FileSystemURL CreateSyncableFileSystemURLForSync(
storage::FileSystemContext* file_system_context,
const FileSystemURL& syncable_url) { … }
bool SerializeSyncableFileSystemURL(const FileSystemURL& url,
std::string* serialized_url) { … }
bool DeserializeSyncableFileSystemURL(const std::string& serialized_url,
FileSystemURL* url) { … }
base::FilePath GetSyncFileSystemDir(const base::FilePath& profile_base_dir) { … }
void RunSoon(const base::Location& from_here, base::OnceClosure callback) { … }
}