#include "chrome/browser/apps/platform_apps/api/sync_file_system/sync_file_system_api_helpers.h"
#include "base/notreached.h"
#include "base/values.h"
#include "storage/browser/file_system/file_system_url.h"
#include "storage/common/file_system/file_system_util.h"
namespace chrome_apps {
namespace api {
sync_file_system::ServiceStatus SyncServiceStateToExtensionEnum(
::sync_file_system::SyncServiceState state) { … }
sync_file_system::FileStatus SyncFileStatusToExtensionEnum(
::sync_file_system::SyncFileStatus status) { … }
sync_file_system::SyncAction SyncActionToExtensionEnum(
::sync_file_system::SyncAction action) { … }
sync_file_system::SyncDirection SyncDirectionToExtensionEnum(
::sync_file_system::SyncDirection direction) { … }
::sync_file_system::ConflictResolutionPolicy
ExtensionEnumToConflictResolutionPolicy(
sync_file_system::ConflictResolutionPolicy policy) { … }
sync_file_system::ConflictResolutionPolicy
ConflictResolutionPolicyToExtensionEnum(
::sync_file_system::ConflictResolutionPolicy policy) { … }
std::optional<base::Value::Dict> CreateDictionaryValueForFileSystemEntry(
const storage::FileSystemURL& url,
::sync_file_system::SyncFileType file_type) { … }
}
}