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

Unified Diff: net/socket/ssl_client_socket.cc

Issue 1111553002: Unvirtual and inline SSLClientSocket setters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed a field Created 5 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
« no previous file with comments | « net/socket/ssl_client_socket.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket.cc
diff --git a/net/socket/ssl_client_socket.cc b/net/socket/ssl_client_socket.cc
index 2584da3cad59590f9d64f855538f9f71060daa8c..4dd6a4e926d5a84f56076b94983fbc3c90774a68 100644
--- a/net/socket/ssl_client_socket.cc
+++ b/net/socket/ssl_client_socket.cc
@@ -18,8 +18,7 @@
namespace net {
SSLClientSocket::SSLClientSocket()
- : protocol_negotiated_(kProtoUnknown),
- signed_cert_timestamps_received_(false),
+ : signed_cert_timestamps_received_(false),
stapled_ocsp_response_received_(false),
negotiation_extension_(kExtensionUnknown) {
}
@@ -106,21 +105,6 @@ bool SSLClientSocket::IgnoreCertError(int error, int load_flags) {
IsCertificateError(error);
}
-void SSLClientSocket::set_negotiation_extension(
- SSLNegotiationExtension negotiation_extension) {
- negotiation_extension_ = negotiation_extension;
-}
-
-void SSLClientSocket::set_signed_cert_timestamps_received(
- bool signed_cert_timestamps_received) {
- signed_cert_timestamps_received_ = signed_cert_timestamps_received;
-}
-
-void SSLClientSocket::set_stapled_ocsp_response_received(
- bool stapled_ocsp_response_received) {
- stapled_ocsp_response_received_ = stapled_ocsp_response_received;
-}
-
void SSLClientSocket::RecordNegotiationExtension() {
if (negotiation_extension_ == kExtensionUnknown)
return;
« no previous file with comments | « net/socket/ssl_client_socket.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698