/* * Copyright (c) 2024, Andrew Kaster * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include #if defined(AK_OS_MACH) # include #endif namespace WebView { enum class ProcessType { Chrome, WebContent, WebWorker, SQLServer, RequestServer, ImageDecoder, }; struct ProcessInfo : public Core::Platform::ProcessInfo { using Core::Platform::ProcessInfo::ProcessInfo; ProcessInfo(ProcessType type, pid_t pid) : Core::Platform::ProcessInfo(pid) , type(type) { } ProcessType type { ProcessType::WebContent }; Optional title; }; }