// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SERVICES_NETWORK_TEST_TEST_UDP_SOCKET_H_ #define SERVICES_NETWORK_TEST_TEST_UDP_SOCKET_H_ #include <stdint.h> #include "base/containers/span.h" #include "services/network/public/mojom/udp_socket.mojom.h" namespace net { class IPAddress; class IPEndPoint; struct MutableNetworkTrafficAnnotationTag; } // namespace net namespace network { // Noop implementation of mojom::UDPSocket. Useful to override to create // specialized mocks or fakes. class TestUDPSocket : public mojom::UDPSocket { … }; } // namespace network #endif // SERVICES_NETWORK_TEST_TEST_UDP_SOCKET_H_