summaryrefslogtreecommitdiffstats
path: root/net/socket/ssl_client_socket.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/ssl_client_socket.cc')
-rw-r--r--net/socket/ssl_client_socket.cc11
1 files changed, 10 insertions, 1 deletions
diff --git a/net/socket/ssl_client_socket.cc b/net/socket/ssl_client_socket.cc
index 4f87202..b1e31f5 100644
--- a/net/socket/ssl_client_socket.cc
+++ b/net/socket/ssl_client_socket.cc
@@ -10,7 +10,8 @@ namespace net {
SSLClientSocket::SSLClientSocket()
: was_npn_negotiated_(false),
- was_spdy_negotiated_(false) {
+ was_spdy_negotiated_(false),
+ was_origin_bound_cert_sent_(false) {
}
SSLClientSocket::NextProto SSLClientSocket::NextProtoFromString(
@@ -90,4 +91,12 @@ bool SSLClientSocket::set_was_spdy_negotiated(bool negotiated) {
return was_spdy_negotiated_ = negotiated;
}
+bool SSLClientSocket::was_origin_bound_cert_sent() const {
+ return was_origin_bound_cert_sent_;
+}
+
+bool SSLClientSocket::set_was_origin_bound_cert_sent(bool sent) {
+ return was_origin_bound_cert_sent_ = sent;
+}
+
} // namespace net