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