// For license of this file, see /LICENSE.md. #ifndef ADBLOCKURLINTERCEPTOR_H #define ADBLOCKURLINTERCEPTOR_H #include "network-web/webengine//urlinterceptor.h" class AdBlockManager; class AdBlockUrlInterceptor : public UrlInterceptor { Q_OBJECT public: explicit AdBlockUrlInterceptor(AdBlockManager* manager); void interceptRequest(QWebEngineUrlRequestInfo& info); private: AdBlockManager* m_manager; }; #endif // ADBLOCKURLINTERCEPTOR_H