#include "services/network/public/cpp/url_loader_completion_status.h"
#include "base/trace_event/trace_event.h"
#include "net/base/net_errors.h"
namespace network {
URLLoaderCompletionStatus::URLLoaderCompletionStatus() = default;
URLLoaderCompletionStatus::URLLoaderCompletionStatus(
const URLLoaderCompletionStatus& status) = default;
URLLoaderCompletionStatus::URLLoaderCompletionStatus(int error_code)
: … { … }
URLLoaderCompletionStatus::URLLoaderCompletionStatus(
const CorsErrorStatus& error)
: … { … }
URLLoaderCompletionStatus::URLLoaderCompletionStatus(
const mojom::BlockedByResponseReason& reason)
: … { … }
URLLoaderCompletionStatus::~URLLoaderCompletionStatus() = default;
bool URLLoaderCompletionStatus::operator==(
const URLLoaderCompletionStatus& rhs) const { … }
void URLLoaderCompletionStatus::WriteIntoTrace(
perfetto::TracedValue context) const { … }
}