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

Unified Diff: extensions/browser/api/web_request/web_request_api_constants.cc

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_api_constants.cc
diff --git a/extensions/browser/api/web_request/web_request_api_constants.cc b/extensions/browser/api/web_request/web_request_api_constants.cc
index 7b464eef7b7f545c3b0da54d2828304587365728..12587e50a0956ffcd9dffdfd79a2cd1d95b5e622 100644
--- a/extensions/browser/api/web_request/web_request_api_constants.cc
+++ b/extensions/browser/api/web_request/web_request_api_constants.cc
@@ -44,6 +44,25 @@ const char kAuthCredentialsKey[] = "authCredentials";
const char kUsernameKey[] = "username";
const char kPasswordKey[] = "password";
+const char kSSLInfoKey[] = "sslInfo";
+const char kCertificateValidKey[] = "valid";
+const char kCertificateIssuedByKnownRootKey[] = "issuedByKnownRoot";
+const char kEVCertificateKey[] = "extendedValidation";
+const char kBuiltChainKey[] = "builtChain";
+const char kSentChainKey[] = "sentChain";
+const char kSSLVersionKey[] = "sslVersion";
+const char kCipherSuiteKey[] = "cipherSuite";
+const char kErrorsKey[] = "errors";
+const char kCommonNameKey[] = "commonName";
+const char kLocalityNameKey[] = "localityName";
+const char kStateOrProvinceNameKey[] = "stateOrProvinceName";
+const char kCountryNameKey[] = "countryName";
+const char kStreetAddressesKey[] = "streetAddresses";
+const char kOrganizationNamesKey[] = "organizationNames";
+const char kOrganizationUnitNamesKey[] = "organizationUnitNames";
+const char kSerialNumberKey[] = "serialNumber";
+const char kChainKey[] = "chain";
+
const char kOnBeforeRedirectEvent[] = "webRequest.onBeforeRedirect";
const char kOnBeforeSendHeadersEvent[] = "webRequest.onBeforeSendHeaders";
const char kOnCompletedEvent[] = "webRequest.onCompleted";

Powered by Google App Engine
This is Rietveld 408576698