| 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 5324a999c8fd2adcae731cc6258bb1026d2c8468..19eedce8246dd7066417ec13ef90d60d6984b938 100644
|
| --- a/content/public/browser/ssl_host_state_delegate.h
|
| +++ b/content/public/browser/ssl_host_state_delegate.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <memory>
|
|
|
| +#include "base/callback_forward.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/threading/non_thread_safe.h"
|
| #include "content/common/content_export.h"
|
| @@ -51,8 +52,10 @@ class SSLHostStateDelegate {
|
| const net::X509Certificate& cert,
|
| net::CertStatus error) = 0;
|
|
|
| - // Clear all allow preferences.
|
| - virtual void Clear() = 0;
|
| + // Clear allow preferences matched by |host_filter|. If the filter is null,
|
| + // clear all preferences.
|
| + virtual void Clear(
|
| + const base::Callback<bool(const std::string&)>& host_filter) = 0;
|
|
|
| // Queries whether |cert| is allowed for |host| and |error|. Returns true in
|
| // |expired_previous_decision| if a previous user decision expired immediately
|
|
|