summaryrefslogtreecommitdiffstats
path: root/src/core/web_contents_delegate_qt.h
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2020-07-13 13:38:00 +0200
committerMichal Klocek <michal.klocek@qt.io>2020-08-14 16:34:42 +0200
commit26bc12617efaae040dbd6166c2da27236104bf43 (patch)
tree7006eb08a3fb568087038bcf956e2862d15c519a /src/core/web_contents_delegate_qt.h
parenta2a9ea11f95b4a5347f599d8a28151166ad00a71 (diff)
Simplify WebEngineCertificateError
Removes certificateErrorControllerPrivate, moves error handling logic to core. Change-Id: I050f73f1e37eb9ae39ad471fe1673d2b6140cf89 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/web_contents_delegate_qt.h')
-rw-r--r--src/core/web_contents_delegate_qt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/web_contents_delegate_qt.h b/src/core/web_contents_delegate_qt.h
index 6d15daf47..cecfd1ac4 100644
--- a/src/core/web_contents_delegate_qt.h
+++ b/src/core/web_contents_delegate_qt.h
@@ -52,8 +52,8 @@
#include "favicon_manager.h"
#include "find_text_helper.h"
#include "javascript_dialog_manager_qt.h"
-
#include <QtCore/qlist.h>
+#include <QWebEngineCertificateError>
QT_FORWARD_DECLARE_CLASS(CertificateErrorController)
QT_FORWARD_DECLARE_CLASS(ClientCertSelectController)
@@ -235,6 +235,7 @@ private:
mutable bool m_pendingUrlUpdate = false;
base::WeakPtrFactory<WebContentsDelegateQt> m_weakPtrFactory { this };
+ QList<QWeakPointer<CertificateErrorController>> m_certificateErrorControllers;
};
} // namespace QtWebEngineCore