chromium/extensions/browser/api/sockets_tcp/sockets_tcp_api.h

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {};

}  // namespace api
}  // namespace extensions

#endif  // EXTENSIONS_BROWSER_API_SOCKETS_TCP_SOCKETS_TCP_API_H_