#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_LOADER_CORS_CORS_ERROR_STRING_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_LOADER_CORS_CORS_ERROR_STRING_H_
#include "services/network/public/cpp/cors/cors_error_status.h"
#include "third_party/blink/public/platform/web_url_request.h"
#include "third_party/blink/renderer/platform/platform_export.h"
namespace WTF {
class AtomicString;
class String;
}
namespace blink {
class KURL;
class SecurityOrigin;
enum class ResourceType : uint8_t;
namespace cors {
PLATFORM_EXPORT WTF::String GetErrorString(
const network::CorsErrorStatus& status,
const KURL& initial_request_url,
const KURL& last_request_url,
const SecurityOrigin& origin,
ResourceType resource_type,
const WTF::AtomicString& initiator_name);
}
}
#endif