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

Unified Diff: chrome/common/chrome_switches.cc

Issue 27026002: CT: Adding preliminary Certificate Transparency support to Chromium. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Distinguish between SCTs from unknown logs and unverified ones Created 7 years, 1 month 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | content/browser/loader/resource_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 2139512f6b72434002201b91e77232f0952edcec..1ddd925e4264139f35ebd2d78193b4b27d7c5058 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -582,6 +582,13 @@ const char kEnableAutologin[] = "enable-autologin";
// Enables the benchmarking extensions.
const char kEnableBenchmarking[] = "enable-benchmarking";
+// Enables the checking of Signed Certificate Timestamps emitted as part of a
+// Certificate Transparency log. The Base64'd DER-encoded SubjectPublicKeyInfo
+// of the CT log's public key should be passed as the switch value.
+// XXX(rsleevi): Support more logs.
+const char kEnableCertificateTransparency[] =
+ "enable-certificate-transparency";
+
// Enables client hints, which adds hints about browser state to HTTP requests.
const char kEnableClientHints[] = "enable-client-hints";
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | content/browser/loader/resource_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698