| 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 a9bb2ae9a77e2693e017881f3a95994fabf76048..43e86959895dceed16081b95af4a27f507fe68db 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -3463,6 +3463,10 @@ void WebContentsImpl::OnDidLoadResourceFromMemoryCache(
|
| }
|
|
|
| void WebContentsImpl::OnDidDisplayInsecureContent() {
|
| + DidDisplayInsecureContent();
|
| +}
|
| +
|
| +void WebContentsImpl::DidDisplayInsecureContent() {
|
| RecordAction(base::UserMetricsAction("SSL.DisplayedInsecureContent"));
|
| displayed_insecure_content_ = true;
|
| SSLManager::NotifySSLInternalStateChanged(
|
| @@ -3471,6 +3475,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"));
|
|
|