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

Unified Diff: content/browser/devtools/protocol/security_handler.cc

Issue 2542533004: Override DevTools security summary when a Safe Browsing warning shows. (Closed)
Patch Set: Redefine event parameter (optional instead of nullable) for Closure Compiler Created 4 years 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
Index: content/browser/devtools/protocol/security_handler.cc
diff --git a/content/browser/devtools/protocol/security_handler.cc b/content/browser/devtools/protocol/security_handler.cc
index d3efa82257fbed81b3698de5f86068e161e2816d..89ebe7fea0f5ef778b5acd077d8157141b0a9312 100644
--- a/content/browser/devtools/protocol/security_handler.cc
+++ b/content/browser/devtools/protocol/security_handler.cc
@@ -132,6 +132,7 @@ void SecurityHandler::SecurityStyleChanged(
->set_security_state(security_state)
->set_scheme_is_cryptographic(
security_style_explanations.scheme_is_cryptographic)
+ ->set_summary(security_style_explanations.summary)
estark 2016/12/07 01:00:09 Maybe you only want to set this if |summary| is no
->set_insecure_content_status(insecure_content_status)
->set_explanations(explanations));
}

Powered by Google App Engine
This is Rietveld 408576698