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

Unified Diff: third_party/WebKit/Source/devtools/front_end/devtools.js

Issue 2302873005: DevTools: allow devtools front-end to show certificate viewer. (Closed)
Patch Set: review comments. Created 4 years, 3 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
Index: third_party/WebKit/Source/devtools/front_end/devtools.js
diff --git a/third_party/WebKit/Source/devtools/front_end/devtools.js b/third_party/WebKit/Source/devtools/front_end/devtools.js
index 5e83ae3bb1ca36b38dfeedb22024902029e551ba..a56b6486b488e0d7f7db73a71e1a00d5af838bcd 100644
--- a/third_party/WebKit/Source/devtools/front_end/devtools.js
+++ b/third_party/WebKit/Source/devtools/front_end/devtools.js
@@ -670,6 +670,14 @@ InspectorFrontendHostImpl.prototype = {
},
/**
+ * @param {!Array<string>} certChain
+ */
+ showCertificateViewer: function(certChain)
+ {
+ DevToolsAPI.sendMessageToEmbedder("showCertificateViewer", [JSON.stringify(certChain)], null);
+ },
+
+ /**
* @override
* @return {boolean}
*/

Powered by Google App Engine
This is Rietveld 408576698