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..ae7b8b1c8b537c3fa47b91c1ba81d958f8c93b3e 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -1467,6 +1467,17 @@ void WebContentsImpl::DidChangeVisibleSecurityState() { |
} |
} |
+bool WebContentsImpl::NotifyCertificateError( |
+ base::Callback<void(content::CertificateRequestResultType)> callback) { |
+ bool handled = false; |
+ for (auto& observer : observers_) |
+ if (observer.NotifyCertificateError(callback)) { |
+ handled = true; |
+ break; |
+ } |
+ return handled; |
+} |
+ |
void WebContentsImpl::Stop() { |
for (FrameTreeNode* node : frame_tree_.Nodes()) |
node->StopLoading(); |