#include "extensions/browser/api/sockets_udp/test_udp_echo_server.h"
#include "base/functional/bind.h"
#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "net/base/host_port_pair.h"
#include "net/base/io_buffer.h"
#include "net/base/ip_address.h"
#include "net/base/ip_endpoint.h"
#include "net/base/net_errors.h"
#include "net/log/net_log_source.h"
#include "net/socket/udp_server_socket.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "services/network/public/mojom/network_context.mojom.h"
#include "services/network/public/mojom/udp_socket.mojom.h"
#include "services/network/test/test_udp_socket.h"
#include "services/network/test/udp_socket_test_util.h"
namespace extensions {
class TestUdpSocketListenerImpl : public network::test::UDPSocketListenerImpl { … };
class TestUdpEchoServer::Core { … };
TestUdpEchoServer::TestUdpEchoServer() = default;
TestUdpEchoServer::~TestUdpEchoServer() { … }
bool TestUdpEchoServer::Start(network::mojom::NetworkContext* network_context,
net::HostPortPair* host_port_pair) { … }
}