| Index: content/public/browser/ssl_host_state_delegate.h
|
| diff --git a/content/public/browser/ssl_host_state_delegate.h b/content/public/browser/ssl_host_state_delegate.h
|
| index bcacd7fdef1aa08b47496abf9344090809df2dd5..3f6c10cf2326617ca7a818537640e02cd27dfe4d 100644
|
| --- a/content/public/browser/ssl_host_state_delegate.h
|
| +++ b/content/public/browser/ssl_host_state_delegate.h
|
| @@ -27,14 +27,14 @@ class SSLHostStateDelegate {
|
| // Records that |cert| is not permitted to be used for |host| in the future,
|
| // for a specified |error| type.
|
| virtual void DenyCert(const std::string& host,
|
| - net::X509Certificate* cert,
|
| - net::CertStatus error) = 0;
|
| + const net::X509Certificate* cert,
|
| + const net::CertStatus error) = 0;
|
|
|
| // Records that |cert| is permitted to be used for |host| in the future, for
|
| // a specified |error| type.
|
| virtual void AllowCert(const std::string&,
|
| - net::X509Certificate* cert,
|
| - net::CertStatus error) = 0;
|
| + const net::X509Certificate* cert,
|
| + const net::CertStatus error) = 0;
|
|
|
| // Clear all allow/deny preferences.
|
| virtual void Clear() = 0;
|
| @@ -44,16 +44,17 @@ class SSLHostStateDelegate {
|
| // immediately prior to this query, otherwise false.
|
| virtual net::CertPolicy::Judgment QueryPolicy(
|
| const std::string& host,
|
| - net::X509Certificate* cert,
|
| - net::CertStatus error,
|
| + const net::X509Certificate* cert,
|
| + const net::CertStatus error,
|
| bool* expired_previous_decision) = 0;
|
|
|
| // Records that a host has run insecure content.
|
| - virtual void HostRanInsecureContent(const std::string& host, int pid) = 0;
|
| + virtual void HostRanInsecureContent(const std::string& host,
|
| + const int pid) = 0;
|
|
|
| // Returns whether the specified host ran insecure content.
|
| virtual bool DidHostRunInsecureContent(const std::string& host,
|
| - int pid) const = 0;
|
| + const int pid) const = 0;
|
|
|
| protected:
|
| virtual ~SSLHostStateDelegate() {}
|
|
|