| Index: android_webview/browser/aw_ssl_host_state_delegate.cc
|
| diff --git a/android_webview/browser/aw_ssl_host_state_delegate.cc b/android_webview/browser/aw_ssl_host_state_delegate.cc
|
| index 59d717fbe78653ab23e7da295fd54624118567fa..1da47472fb4b38f3fed193c2e519d409fdfbfd40 100644
|
| --- a/android_webview/browser/aw_ssl_host_state_delegate.cc
|
| +++ b/android_webview/browser/aw_ssl_host_state_delegate.cc
|
| @@ -86,4 +86,15 @@ SSLHostStateDelegate::CertJudgment AwSSLHostStateDelegate::QueryPolicy(
|
| : SSLHostStateDelegate::DENIED;
|
| }
|
|
|
| +void AwSSLHostStateDelegate::RevokeUserAllowExceptions(
|
| + const std::string& host) {
|
| + cert_policy_for_host_.erase(host);
|
| +}
|
| +
|
| +bool AwSSLHostStateDelegate::HasAllowException(const std::string& host) const {
|
| + auto policy_iterator = cert_policy_for_host_.find(host);
|
| + return policy_iterator != cert_policy_for_host_.end() &&
|
| + policy_iterator->second.HasAllowException();
|
| +}
|
| +
|
| } // namespace android_webview
|
|
|