/* * Copyright (c) 2022, Tim Flynn * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include namespace WebDriver { class Client; class WebContentConnection : public IPC::ConnectionFromClient { C_OBJECT_ABSTRACT(WebContentConnection) public: WebContentConnection(NonnullOwnPtr socket, NonnullRefPtr client, unsigned session_id); virtual void die() override; private: NonnullRefPtr m_client; unsigned m_session_id { 0 }; }; }