summaryrefslogtreecommitdiffstats
path: root/src/core/profile_io_data_qt.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-02-11 12:48:48 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-02-11 14:26:02 +0000
commit3b19a50d912712be99b82f8c5c8af94db57a9eaf (patch)
tree810b148df137da97e9abae972d9c57dc36ed93cf /src/core/profile_io_data_qt.cpp
parent358f1398dcb531e906dbb1412f06222c32d1a91f (diff)
Cleanup client cert store files
The files were not in the right places and wasn't split correctly in domains. Change-Id: Ia0d3b1c8f9bc6082f338a09cb64c4bb4b1aa16ad Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'src/core/profile_io_data_qt.cpp')
-rw-r--r--src/core/profile_io_data_qt.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/profile_io_data_qt.cpp b/src/core/profile_io_data_qt.cpp
index 4815b8749..e44354029 100644
--- a/src/core/profile_io_data_qt.cpp
+++ b/src/core/profile_io_data_qt.cpp
@@ -78,6 +78,7 @@
#include "services/file/user_id_map.h"
#include "services/network/proxy_service_mojo.h"
+#include "net/client_cert_override.h"
#include "net/cookie_monster_delegate_qt.h"
#include "net/custom_protocol_handler.h"
#include "net/network_delegate_qt.h"
@@ -791,4 +792,15 @@ void ProfileIODataQt::updateUsedForGlobalCertificateVerification()
base::BindOnce(&ProfileIODataQt::setGlobalCertificateVerification, m_weakPtr));
}
+std::unique_ptr<net::ClientCertStore> ProfileIODataQt::CreateClientCertStore()
+{
+ return std::unique_ptr<net::ClientCertStore>(new ClientCertOverrideStore());
+}
+
+// static
+ProfileIODataQt *ProfileIODataQt::FromResourceContext(content::ResourceContext *resource_context)
+{
+ return static_cast<ResourceContextQt *>(resource_context)->m_io_data;
+}
+
} // namespace QtWebEngineCore
iable-case'>upstream/users/MaskRay/spr/__asan_register_elf_globals-properly-check-the-no-instrumented-global-variable-case Vendor branches of https://github.com/llvm/llvm-project.git
summaryrefslogtreecommitdiffstats
path: root/cmake
Commit message (Expand)AuthorAgeFilesLines
* [CMake] Switch the CMP0091 policy (MSVC_RUNTIME_LIBRARY) to the new behaviourMartin Storsjö2023-07-171-5/+0
* GetClangResourceDir: Fix downstream projects that bundle llvm sourceTom Stellard2023-07-051-1/+3
* [CMake] Ensure `CLANG_RESOURCE_DIR` is respected.paperchalice2023-06-031-0/+27
* Reland "[CMake] Bumps minimum version to 3.20.0.Mark de Wever2023-05-271-0/+5
* Revert "Reland "[CMake] Bumps minimum version to 3.20.0.""Nico Weber2023-05-171-5/+0
* [cmake] Set CMP0091 to fix Windows builds after the cmake_minimum_required bumpHans Wennborg2023-05-161-0/+5
* [CMake] Install FindLibEdit find moduleEric Kilmer2023-05-041-66/+0
* Revert "[CMake] Unify llvm_check_linker_flag and llvm_check_compiler_linker_f...Petr Hosek2023-03-281-17/+24
* [CMake] Unify llvm_check_linker_flag and llvm_check_compiler_linker_flagPetr Hosek2023-03-281-24/+17
* Revert "[CMake] Unify llvm_check_linker_flag and llvm_check_compiler_linker_f...Igor Zhukov2023-03-121-17/+24
* [CMake] Unify llvm_check_linker_flag and llvm_check_compiler_linker_flagPetr Hosek2023-03-101-24/+17
* Revert "[CMake] Unify llvm_check_linker_flag and llvm_check_compiler_linker_f...Petr Hosek2023-02-222-28/+35
* [CMake] Unify llvm_check_linker_flag and llvm_check_compiler_linker_flagPetr Hosek2023-02-222-35/+28