summaryrefslogtreecommitdiffstats
path: root/src/core/net/ssl_host_state_delegate_qt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/net/ssl_host_state_delegate_qt.h')
-rw-r--r--src/core/net/ssl_host_state_delegate_qt.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/net/ssl_host_state_delegate_qt.h b/src/core/net/ssl_host_state_delegate_qt.h
index ff25a0587..380e59f2c 100644
--- a/src/core/net/ssl_host_state_delegate_qt.h
+++ b/src/core/net/ssl_host_state_delegate_qt.h
@@ -32,15 +32,15 @@ public:
~SSLHostStateDelegateQt();
// content::SSLHostStateDelegate implementation:
- void AllowCert(const std::string &, const net::X509Certificate &cert, int error, content::WebContents *web_contents) override;
+ void AllowCert(const std::string &, const net::X509Certificate &cert, int error, content::StoragePartition *storage_partition) override;
void Clear(base::RepeatingCallback<bool(const std::string&)> host_filter) override;
- CertJudgment QueryPolicy(const std::string &host, const net::X509Certificate &cert, int error, content::WebContents *web_contents) override;
+ CertJudgment QueryPolicy(const std::string &host, const net::X509Certificate &cert, int error, content::StoragePartition *web_contents) override;
void HostRanInsecureContent(const std::string &host, int child_id, InsecureContentType content_type) override;
bool DidHostRunInsecureContent(const std::string &host, int child_id, InsecureContentType content_type) override;
- void AllowHttpForHost(const std::string &host, content::WebContents *web_contents) override;
- bool IsHttpAllowedForHost(const std::string &host, content::WebContents *web_contents) override;
+ void AllowHttpForHost(const std::string &host, content::StoragePartition *web_contents) override;
+ bool IsHttpAllowedForHost(const std::string &host, content::StoragePartition *web_contents) override;
void RevokeUserAllowExceptions(const std::string &host) override;
- bool HasAllowException(const std::string &host, content::WebContents *web_contents) override;
+ bool HasAllowException(const std::string &host, content::StoragePartition *web_contents) override;
private:
std::map<std::string, CertPolicy> m_certPolicyforHost;