#ifndef NET_SOCKET_SOCKET_NET_LOG_PARAMS_H_
#define NET_SOCKET_SOCKET_NET_LOG_PARAMS_H_
#include "base/values.h"
#include "net/log/net_log_event_type.h"
namespace net {
class NetLogWithSource;
class HostPortPair;
class IPEndPoint;
void NetLogSocketError(const NetLogWithSource& net_log,
NetLogEventType type,
int net_error,
int os_error);
base::Value::Dict CreateNetLogHostPortPairParams(
const HostPortPair* host_and_port);
base::Value::Dict CreateNetLogIPEndPointParams(const IPEndPoint* address);
base::Value::Dict CreateNetLogAddressPairParams(
const net::IPEndPoint& local_address,
const net::IPEndPoint& remote_address);
}
#endif