| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index 01a810115cad34d45f09f089116e46209c11b174..70a34139ac8750793e09105459f256cd3a18b704 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -1467,6 +1467,20 @@ void WebContentsImpl::DidChangeVisibleSecurityState() {
|
| }
|
| }
|
|
|
| +bool WebContentsImpl::NotifyCertificateError(
|
| + int cert_error,
|
| + const GURL& request_url,
|
| + base::Callback<void(content::CertificateRequestResultType)> callback) {
|
| + bool handled = false;
|
| + for (auto& observer : observers_) {
|
| + if (observer.NotifyCertificateError(cert_error, request_url, callback)) {
|
| + handled = true;
|
| + break;
|
| + }
|
| + }
|
| + return handled;
|
| +}
|
| +
|
| void WebContentsImpl::Stop() {
|
| for (FrameTreeNode* node : frame_tree_.Nodes())
|
| node->StopLoading();
|
|
|