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

Unified Diff: net/base/ssl_config_service.cc

Issue 7113008: Add revocation checking field trial. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years, 6 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
« no previous file with comments | « net/base/ssl_config_service.h ('k') | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/ssl_config_service.cc
diff --git a/net/base/ssl_config_service.cc b/net/base/ssl_config_service.cc
index 56ad78a21d6ca828a11152611fdf22e86f2c54cc..c16e4c52c9190bf3db716268b6ed2bdd7c12ba02 100644
--- a/net/base/ssl_config_service.cc
+++ b/net/base/ssl_config_service.cc
@@ -48,6 +48,7 @@ bool SSLConfigService::IsKnownFalseStartIncompatibleServer(
static bool g_false_start_enabled = true;
static bool g_dns_cert_provenance_checking = false;
+static bool g_rev_checking_disabled_for_pinned_sites = false;
// static
void SSLConfigService::DisableFalseStart() {
@@ -69,6 +70,16 @@ bool SSLConfigService::dns_cert_provenance_checking_enabled() {
return g_dns_cert_provenance_checking;
}
+// static
+void SSLConfigService::DisableRevCheckingForPinnedSites() {
+ g_rev_checking_disabled_for_pinned_sites = true;
+}
+
+// static
+bool SSLConfigService::rev_checking_disabled_for_pinned_sites() {
+ return g_rev_checking_disabled_for_pinned_sites;
+}
+
void SSLConfigService::AddObserver(Observer* observer) {
observer_list_.AddObserver(observer);
}
« no previous file with comments | « net/base/ssl_config_service.h ('k') | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698