Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(766)

Unified Diff: content/renderer/render_frame_impl.cc

Issue 2167773002: Preparation for removal of sending content::SSLStatus to the renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comment Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/frame_messages.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 57b7ca327348987b80e8ed7d13c589dc67c6c3a3..0979dfb1fa6b9936eacb8c27c91166478dc66e2f 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -813,8 +813,6 @@ bool IsContentWithCertificateErrorsRelevantToUI(
// subresource errors duplicative.
return (!url::Origin(GURL(url)).IsSameOriginWith(
url::Origin(GURL(main_ds->request().url()))) ||
- main_resource_ssl_status.security_style !=
- ssl_status.security_style ||
main_resource_ssl_status.cert_id != ssl_status.cert_id ||
main_resource_ssl_status.cert_status != ssl_status.cert_status ||
main_resource_ssl_status.security_bits != ssl_status.security_bits ||
@@ -4203,17 +4201,15 @@ void RenderFrameImpl::didDisplayContentWithCertificateErrors(
const blink::WebCString& security_info) {
if (IsContentWithCertificateErrorsRelevantToUI(frame_, url, security_info)) {
Send(new FrameHostMsg_DidDisplayContentWithCertificateErrors(
- routing_id_, url, security_info));
+ routing_id_, url));
}
}
void RenderFrameImpl::didRunContentWithCertificateErrors(
const blink::WebURL& url,
const blink::WebCString& security_info) {
- if (IsContentWithCertificateErrorsRelevantToUI(frame_, url, security_info)) {
- Send(new FrameHostMsg_DidRunContentWithCertificateErrors(routing_id_, url,
- security_info));
- }
+ if (IsContentWithCertificateErrorsRelevantToUI(frame_, url, security_info))
+ Send(new FrameHostMsg_DidRunContentWithCertificateErrors(routing_id_, url));
}
void RenderFrameImpl::didChangePerformanceTiming() {
« no previous file with comments | « content/common/frame_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698