summaryrefslogtreecommitdiffstats
path: root/src/core/profile_io_data_qt.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-02-27 13:49:30 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-03-01 22:32:13 +0000
commit4dc312011bcaa2ee2cf812b5b84dc9238130e608 (patch)
tree495513b9fe73d2d1e45ea84c3e00e43e4625a5ee /src/core/profile_io_data_qt.h
parent9e299978cfb40e01f2871b71129a02f4b5b7404d (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_io_data_qt.h')
-rw-r--r--src/core/profile_io_data_qt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/profile_io_data_qt.h b/src/core/profile_io_data_qt.h
index b983b3a99..edb2fd3b5 100644
--- a/src/core/profile_io_data_qt.h
+++ b/src/core/profile_io_data_qt.h
@@ -69,6 +69,7 @@ class ExtensionSystemQt;
namespace QtWebEngineCore {
+class ClientCertificateStoreData;
class ProfileQt;
// ProfileIOData contains data that lives on the IOthread
@@ -123,6 +124,7 @@ public:
void updateUsedForGlobalCertificateVerification(); // runs on ui thread
bool hasPageInterceptors();
+ ClientCertificateStoreData *clientCertificateStoreData();
std::unique_ptr<net::ClientCertStore> CreateClientCertStore();
static ProfileIODataQt *FromResourceContext(content::ResourceContext *resource_context);
private:
@@ -146,6 +148,7 @@ private:
QAtomicPointer<net::ProxyConfigService> m_proxyConfigService;
QPointer<ProfileAdapter> m_profileAdapter; // never dereferenced in IO thread and it is passed by qpointer
ProfileAdapter::PersistentCookiesPolicy m_persistentCookiesPolicy;
+ ClientCertificateStoreData *m_clientCertificateStoreData;
QString m_cookiesPath;
QString m_channelIdPath;
QString m_httpAcceptLanguage;