#include "services/network/public/cpp/cors/cors_error_status.h"
#include <ostream>
#include <string>
#include "base/unguessable_token.h"
#include "services/network/public/mojom/cors.mojom-shared.h"
#include "services/network/public/mojom/ip_address_space.mojom-shared.h"
namespace network {
CorsErrorStatus::CorsErrorStatus(mojo::DefaultConstruct::Tag) { … }
CorsErrorStatus::CorsErrorStatus(const CorsErrorStatus&) = default;
CorsErrorStatus& CorsErrorStatus::operator=(const CorsErrorStatus&) = default;
CorsErrorStatus::CorsErrorStatus(CorsErrorStatus&&) = default;
CorsErrorStatus& CorsErrorStatus::operator=(CorsErrorStatus&&) = default;
CorsErrorStatus::CorsErrorStatus(mojom::CorsError cors_error)
: … { … }
CorsErrorStatus::CorsErrorStatus(mojom::CorsError cors_error,
const std::string& failed_parameter)
: … { … }
CorsErrorStatus::CorsErrorStatus(mojom::CorsError cors_error,
mojom::IPAddressSpace target_address_space,
mojom::IPAddressSpace resource_address_space)
: … { … }
CorsErrorStatus::~CorsErrorStatus() = default;
bool CorsErrorStatus::operator==(const CorsErrorStatus& rhs) const { … }
std::ostream& operator<<(std::ostream& os, const CorsErrorStatus& status) { … }
}