| 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 e0ceea46a1608ca8f9d8b7193fc51c3ff0020a6b..597ecaf1ed1fde73916b0e15bf65d72cab919f0c 100644
|
| --- a/content/browser/ssl/ssl_host_state.cc
|
| +++ b/content/browser/ssl/ssl_host_state.cc
|
| @@ -50,6 +50,12 @@ void SSLHostState::AllowCertForHost(net::X509Certificate* cert,
|
| cert_policy_for_host_[host].Allow(cert);
|
| }
|
|
|
| +void SSLHostState::Clear() {
|
| + DCHECK(CalledOnValidThread());
|
| +
|
| + cert_policy_for_host_.clear();
|
| +}
|
| +
|
| net::CertPolicy::Judgment SSLHostState::QueryPolicy(
|
| net::X509Certificate* cert, const std::string& host) {
|
| DCHECK(CalledOnValidThread());
|
|
|