#ifndef CONTENT_BROWSER_FILE_SYSTEM_ACCESS_FILE_SYSTEM_ACCESS_ERROR_H_
#define CONTENT_BROWSER_FILE_SYSTEM_ACCESS_FILE_SYSTEM_ACCESS_ERROR_H_
#include <string_view>
#include "base/files/file.h"
#include "content/common/content_export.h"
#include "third_party/blink/public/mojom/file_system_access/file_system_access_error.mojom.h"
namespace content::file_system_access_error {
CONTENT_EXPORT blink::mojom::FileSystemAccessErrorPtr Ok();
blink::mojom::FileSystemAccessErrorPtr FromFileError(
base::File::Error result,
std::string_view message = "");
blink::mojom::FileSystemAccessErrorPtr FromStatus(
blink::mojom::FileSystemAccessStatus status,
std::string_view message = "");
}
#endif