| Index: content/browser/ssl/ssl_host_state.cc
|
| diff --git a/content/browser/ssl/ssl_host_state.cc b/content/browser/ssl/ssl_host_state.cc
|
| index 6820a7d30da6d52c9866a974753abd6d0ca08123..9754ed910fa2a2aadb3a91f272c920fec4fc33e8 100644
|
| --- a/content/browser/ssl/ssl_host_state.cc
|
| +++ b/content/browser/ssl/ssl_host_state.cc
|
| @@ -104,15 +104,19 @@ void SSLHostState::Clear() {
|
| delegate_->Clear();
|
| }
|
|
|
| -net::CertPolicy::Judgment SSLHostState::QueryPolicy(net::X509Certificate* cert,
|
| - const std::string& host,
|
| - net::CertStatus error) {
|
| +net::CertPolicy::Judgment SSLHostState::QueryPolicy(
|
| + net::X509Certificate* cert,
|
| + const std::string& host,
|
| + net::CertStatus error,
|
| + bool* expired_previous_decision) {
|
| DCHECK(CalledOnValidThread());
|
|
|
| - if (!delegate_)
|
| + if (!delegate_) {
|
| + *expired_previous_decision = false;
|
| return net::CertPolicy::Judgment::UNKNOWN;
|
| + }
|
|
|
| - return delegate_->QueryPolicy(host, cert, error);
|
| + return delegate_->QueryPolicy(host, cert, error, expired_previous_decision);
|
| }
|
|
|
| } // namespace content
|
|
|