summaryrefslogtreecommitdiff
path: root/src/core/api/qwebengineurlrequestinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/api/qwebengineurlrequestinfo.h')
-rw-r--r--src/core/api/qwebengineurlrequestinfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/api/qwebengineurlrequestinfo.h b/src/core/api/qwebengineurlrequestinfo.h
index 658386632..e67402346 100644
--- a/src/core/api/qwebengineurlrequestinfo.h
+++ b/src/core/api/qwebengineurlrequestinfo.h
@@ -46,6 +46,7 @@
#include <QtCore/qurl.h>
namespace QtWebEngineCore {
+class ContentBrowserClientQt;
class InterceptedRequest;
} // namespace QtWebEngineCore
@@ -81,6 +82,7 @@ public:
#ifndef Q_QDOC
ResourceTypeLast = ResourceTypeNavigationPreloadSubFrame,
#endif
+ ResourceTypeWebSocket = 254,
ResourceTypeUnknown = 255
};
@@ -108,6 +110,7 @@ public:
void setHttpHeader(const QByteArray &name, const QByteArray &value);
private:
+ friend class QtWebEngineCore::ContentBrowserClientQt;
friend class QtWebEngineCore::InterceptedRequest;
Q_DISABLE_COPY(QWebEngineUrlRequestInfo)
Q_DECLARE_PRIVATE(QWebEngineUrlRequestInfo)