File indexing completed on 2025-03-09 04:47:03

0001 /*
0002     SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <WebEngineViewer/NetworkPluginUrlInterceptorInterface>
0010 class DoNotTrackInterceptorInterface : public WebEngineViewer::NetworkPluginUrlInterceptorInterface
0011 {
0012     Q_OBJECT
0013 public:
0014     explicit DoNotTrackInterceptorInterface(QObject *parent = nullptr);
0015     ~DoNotTrackInterceptorInterface() override;
0016 
0017     [[nodiscard]] bool interceptRequest(QWebEngineUrlRequestInfo &info) override;
0018 };