diff options
author | Paulo Pinheiro <paulovap.os@gmail.com> | 2014-10-10 12:18:05 -0300 |
---|---|---|
committer | Michael BrĂ¼ning <michael.bruning@theqtcompany.com> | 2015-02-02 11:00:23 +0000 |
commit | 6d896290a020babe5fbaf6c444485df8b1d5d353 (patch) | |
tree | 87aa1de0b21668446f762bd83897b71f2e902cbd /src/core/certificate_error_controller_p.h | |
parent | fcc9a1d4283079cfa4f36c48b832461d59e8a627 (diff) |
Add Qt WebEngine Quick API for allowing certificate errors
This adds API for overriding some certificate errors. Once overridden
any identical error for the same hostname and certificate will use
the same override.
Change-Id: Idf9e968edca18751cbdab744880480750d0c1bd4
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Diffstat (limited to 'src/core/certificate_error_controller_p.h')
-rw-r--r-- | src/core/certificate_error_controller_p.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/certificate_error_controller_p.h b/src/core/certificate_error_controller_p.h index b5a8bd2ef..308131eb5 100644 --- a/src/core/certificate_error_controller_p.h +++ b/src/core/certificate_error_controller_p.h @@ -41,6 +41,8 @@ #include "certificate_error_controller.h" +QT_BEGIN_NAMESPACE + class CertificateErrorControllerPrivate { public: CertificateErrorControllerPrivate(int cert_error, const net::SSLInfo& ssl_info, const GURL& request_url, content::ResourceType resource_type, bool overridable, bool strict_enforcement, const base::Callback<void(bool)>& callback); @@ -54,7 +56,9 @@ public: CertificateErrorController::ResourceType resourceType; bool overridable; bool strictEnforcement; - const base::Callback<void(bool)>& callback; + const base::Callback<void(bool)> callback; }; +QT_END_NAMESPACE + #endif // CERTIFICATE_ERROR_CONTROLLER_P_H |