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

Unified Diff: net/base/ssl_config_service.cc

Issue 6930040: Refactor to address URLRequestContext dependency added in (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 8 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: net/base/ssl_config_service.cc
===================================================================
--- net/base/ssl_config_service.cc (revision 84202)
+++ net/base/ssl_config_service.cc (working copy)
@@ -115,4 +115,14 @@
}
}
+// static
+bool SSLConfigService::IsSNIAvailable(SSLConfigService* service) {
+ if (!service)
+ return false;
+
+ SSLConfig ssl_config;
+ service->GetSSLConfig(&ssl_config);
+ return ssl_config.tls1_enabled;
+}
+
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698