diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-02-27 13:49:30 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-03-01 22:32:13 +0000 |
commit | 4dc312011bcaa2ee2cf812b5b84dc9238130e608 (patch) | |
tree | 495513b9fe73d2d1e45ea84c3e00e43e4625a5ee /src/core/profile_adapter.h | |
parent | 9e299978cfb40e01f2871b71129a02f4b5b7404d (diff) |
Tie client certificate stores to profiles
Move the client certificate store from being global to being tied
to individual profiles.
Change-Id: Ib21ae14c501b7d0612b84ae7535120291aeeada2
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'src/core/profile_adapter.h')
-rw-r--r-- | src/core/profile_adapter.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/profile_adapter.h b/src/core/profile_adapter.h index 482835010..480ca61f6 100644 --- a/src/core/profile_adapter.h +++ b/src/core/profile_adapter.h @@ -60,6 +60,7 @@ #include <QString> #include <QVector> +#include "api/qwebengineclientcertificatestore.h" #include "api/qwebenginecookiestore.h" #include "api/qwebengineurlrequestinterceptor.h" #include "api/qwebengineurlschemehandler.h" @@ -200,6 +201,8 @@ public: void removePageRequestInterceptor(); bool hasPageRequestInterceptor() const { return m_pageRequestInterceptors > 0; } + QWebEngineClientCertificateStore *clientCertificateStore(); + QHash<QByteArray, QWeakPointer<UserNotificationController>> &ephemeralNotifications() { return m_ephemeralNotifications; } QHash<QByteArray, QSharedPointer<UserNotificationController>> &persistentNotifications() @@ -218,6 +221,7 @@ private: QScopedPointer<DownloadManagerDelegateQt> m_downloadManagerDelegate; QScopedPointer<UserResourceControllerHost> m_userResourceController; QScopedPointer<QWebEngineCookieStore> m_cookieStore; + QWebEngineClientCertificateStore *m_clientCertificateStore = nullptr; QPointer<QWebEngineUrlRequestInterceptor> m_requestInterceptor; QString m_dataPath; |