#include "net/socket/udp_net_log_parameters.h"
#include <utility>
#include "base/values.h"
#include "net/base/ip_endpoint.h"
#include "net/log/net_log_values.h"
#include "net/log/net_log_with_source.h"
namespace net {
namespace {
base::Value::Dict NetLogUDPDataTransferParams(int byte_count,
const char* bytes,
const IPEndPoint* address,
NetLogCaptureMode capture_mode) { … }
base::Value::Dict NetLogUDPConnectParams(const IPEndPoint& address,
handles::NetworkHandle network) { … }
}
void NetLogUDPDataTransfer(const NetLogWithSource& net_log,
NetLogEventType type,
int byte_count,
const char* bytes,
const IPEndPoint* address) { … }
base::Value::Dict CreateNetLogUDPConnectParams(const IPEndPoint& address,
handles::NetworkHandle network) { … }
}