#ifndef CHROME_BROWSER_APPS_PLATFORM_APPS_API_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_API_HELPERS_H_
#define CHROME_BROWSER_APPS_PLATFORM_APPS_API_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_API_HELPERS_H_
#include "base/values.h"
#include "chrome/browser/sync_file_system/conflict_resolution_policy.h"
#include "chrome/browser/sync_file_system/sync_action.h"
#include "chrome/browser/sync_file_system/sync_direction.h"
#include "chrome/browser/sync_file_system/sync_file_status.h"
#include "chrome/browser/sync_file_system/sync_file_type.h"
#include "chrome/browser/sync_file_system/sync_service_state.h"
#include "chrome/common/apps/platform_apps/api/sync_file_system.h"
namespace storage {
class FileSystemURL;
}
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
ConflictResolutionPolicyToExtensionEnum(
::sync_file_system::ConflictResolutionPolicy policy);
::sync_file_system::ConflictResolutionPolicy
ExtensionEnumToConflictResolutionPolicy(
sync_file_system::ConflictResolutionPolicy);
std::optional<base::Value::Dict> CreateDictionaryValueForFileSystemEntry(
const storage::FileSystemURL& url,
::sync_file_system::SyncFileType file_type);
}
}
#endif