#ifndef EXTENSIONS_BROWSER_API_SOCKETS_TCP_SOCKETS_TCP_API_H_
#define EXTENSIONS_BROWSER_API_SOCKETS_TCP_SOCKETS_TCP_API_H_
#include <stddef.h>
#include <memory>
#include "base/gtest_prod_util.h"
#include "base/memory/raw_ptr.h"
#include "extensions/browser/api/socket/socket_api.h"
#include "extensions/common/api/sockets_tcp.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "services/network/public/mojom/tcp_socket.mojom.h"
namespace extensions {
class ResumableTCPSocket;
}
namespace extensions {
namespace api {
class TCPSocketEventDispatcher;
class TCPSocketApiFunction : public SocketApiFunction { … };
class TCPSocketExtensionWithDnsLookupFunction
: public SocketExtensionWithDnsLookupFunction { … };
class SocketsTcpCreateFunction : public TCPSocketApiFunction { … };
class SocketsTcpUpdateFunction : public TCPSocketApiFunction { … };
class SocketsTcpSetPausedFunction : public TCPSocketApiFunction { … };
class SocketsTcpSetKeepAliveFunction : public TCPSocketApiFunction { … };
class SocketsTcpSetNoDelayFunction : public TCPSocketApiFunction { … };
class SocketsTcpConnectFunction
: public TCPSocketExtensionWithDnsLookupFunction { … };
class SocketsTcpDisconnectFunction : public TCPSocketApiFunction { … };
class SocketsTcpSendFunction : public TCPSocketApiFunction { … };
class SocketsTcpCloseFunction : public TCPSocketApiFunction { … };
class SocketsTcpGetInfoFunction : public TCPSocketApiFunction { … };
class SocketsTcpGetSocketsFunction : public TCPSocketApiFunction { … };
class SocketsTcpSecureFunction : public TCPSocketApiFunction { … };
}
}
#endif