summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebenginecertificateerror.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/api/qwebenginecertificateerror.h')
-rw-r--r--src/core/api/qwebenginecertificateerror.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/api/qwebenginecertificateerror.h b/src/core/api/qwebenginecertificateerror.h
index 67da69a78..6097f430c 100644
--- a/src/core/api/qwebenginecertificateerror.h
+++ b/src/core/api/qwebenginecertificateerror.h
@@ -46,6 +46,10 @@
#include <QtCore/qurl.h>
#include <QtNetwork/QSslCertificate>
+namespace QtWebEngineCore {
+class WebContentsDelegateQt;
+}
+
QT_BEGIN_NAMESPACE
class CertificateErrorController;
@@ -100,8 +104,7 @@ public:
QList<QSslCertificate> certificateChain() const;
private:
- friend class QWebEnginePagePrivate;
- friend class QQuickWebEngineViewPrivate;
+ friend class QtWebEngineCore::WebContentsDelegateQt;
QWebEngineCertificateError(const QSharedPointer<CertificateErrorController> &controller);
QSharedPointer<CertificateErrorController> d;
};