14 #ifndef hifi_HFWebEngineProfile_h
15 #define hifi_HFWebEngineProfile_h
17 #include "ContextAwareProfile.h"
19 #if !defined(Q_OS_ANDROID)
21 class HFWebEngineProfile :
public ContextAwareProfile {
22 using Parent = ContextAwareProfile;
24 static void registerWithContext(QQmlContext* parent);
26 static void clearCache();
29 HFWebEngineProfile(QQmlContext* parent);
30 virtual ~HFWebEngineProfile();
32 class RequestInterceptor :
public Parent::RequestInterceptor {
34 RequestInterceptor(ContextAwareProfile* parent) : Parent::RequestInterceptor(parent) {}
35 void interceptRequest(QWebEngineUrlRequestInfo& info)
override;