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

Unified Diff: extensions/browser/api/web_request/web_request_event_details.h

Issue 2156763003: Extend the webRequest.onCompleted event details object with TLS/SSL information Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use BoringSSL's SSL_CIPHER_get_rfc_name 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: extensions/browser/api/web_request/web_request_event_details.h
diff --git a/extensions/browser/api/web_request/web_request_event_details.h b/extensions/browser/api/web_request/web_request_event_details.h
index 5eb14cb2a85d8461ee0b32ab875dc970d2f89409..20aa4bbfd5cf8b3c1745ba5c588e314a4405345f 100644
--- a/extensions/browser/api/web_request/web_request_event_details.h
+++ b/extensions/browser/api/web_request/web_request_event_details.h
@@ -77,6 +77,10 @@ class WebRequestEventDetails {
// - ip
void SetResponseSource(const net::URLRequest* request);
+ // Sets the following key:
+ // - sslInfo
palmer 2017/01/21 01:16:30 I'd name it by keys::kWhatever instead.
+ void SetSSLInfo(const net::URLRequest* request);
+
void SetBoolean(const std::string& key, bool value) {
dict_.SetBoolean(key, value);
}

Powered by Google App Engine
This is Rietveld 408576698