| 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 23a03d9b75fac5e2fd7bb91fa7001bfe8296fbcc..4b1b001c270d126e8492d8aede65649c8efab4e1 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -3451,6 +3451,10 @@ void WebContentsImpl::OnDidLoadResourceFromMemoryCache(
|
| }
|
|
|
| void WebContentsImpl::OnDidDisplayInsecureContent() {
|
| + DidDisplayInsecureContent();
|
| +}
|
| +
|
| +void WebContentsImpl::DidDisplayInsecureContent() {
|
| RecordAction(base::UserMetricsAction("SSL.DisplayedInsecureContent"));
|
| displayed_insecure_content_ = true;
|
| SSLManager::NotifySSLInternalStateChanged(
|
| @@ -3459,6 +3463,11 @@ void WebContentsImpl::OnDidDisplayInsecureContent() {
|
|
|
| void WebContentsImpl::OnDidRunInsecureContent(const GURL& security_origin,
|
| const GURL& target_url) {
|
| + DidRunInsecureContent(security_origin, target_url);
|
| +}
|
| +
|
| +void WebContentsImpl::DidRunInsecureContent(const GURL& security_origin,
|
| + const GURL& target_url) {
|
| LOG(WARNING) << security_origin << " ran insecure content from "
|
| << target_url.possibly_invalid_spec();
|
| RecordAction(base::UserMetricsAction("SSL.RanInsecureContent"));
|
|
|