14 #ifndef hifi_FileTypeProfile_h
15 #define hifi_FileTypeProfile_h
17 #include <QtCore/QtGlobal>
19 #if !defined(Q_OS_ANDROID)
20 #include "ContextAwareProfile.h"
22 class FileTypeProfile :
public ContextAwareProfile {
23 using Parent = ContextAwareProfile;
26 static void registerWithContext(QQmlContext* parent);
28 static void clearCache();
31 FileTypeProfile(QQmlContext* parent);
32 virtual ~FileTypeProfile();
34 class RequestInterceptor :
public Parent::RequestInterceptor {
36 RequestInterceptor(ContextAwareProfile* parent) : Parent::RequestInterceptor(parent) {}
37 void interceptRequest(QWebEngineUrlRequestInfo& info)
override;