chromium/net/base/net_errors.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "net/base/net_errors.h"

#include <string>

#include "base/check_op.h"
#include "base/files/file.h"
#include "base/logging.h"
#include "base/notreached.h"
#include "net/third_party/quiche/src/quiche/quic/core/quic_error_codes.h"

namespace net {

// Validate all error values in net_error_list.h are negative.
#define NET_ERROR
#include "net/base/net_error_list.h"
#undef NET_ERROR

std::string ErrorToString(int error) {}

std::string ExtendedErrorToString(int error, int extended_error_code) {}

std::string ErrorToShortString(int error) {}

bool IsCertificateError(int error) {}

bool IsClientCertificateError(int error) {}

bool IsHostnameResolutionError(int error) {}

bool IsRequestBlockedError(int error) {}

Error FileErrorToNetError(base::File::Error file_error) {}

}  // namespace net