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

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: Remove questionably useful fields & add feature switch 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
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 200e28e5a3abeafa63c0e09ece8ba33afdd76909..ba8403da861b8497227396625662a06b100f1c6d 100644
--- a/extensions/browser/api/web_request/web_request_event_details.h
+++ b/extensions/browser/api/web_request/web_request_event_details.h
@@ -76,6 +76,10 @@ class WebRequestEventDetails {
// - ip
void SetResponseSource(const net::URLRequest* request);
+ // Sets the following key:
+ // - sslInfo
+ 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