Index: net/spdy/spdy_session.cc |
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc |
index 97b5837cde2b012c94e4286122e727c71ed3ae78..18552316870528bd538a0dc42d5a6102c35cbad2 100644 |
--- a/net/spdy/spdy_session.cc |
+++ b/net/spdy/spdy_session.cc |
@@ -2044,6 +2044,17 @@ bool SpdySession::GetSSLInfo(SSLInfo* ssl_info, |
return connection_->socket()->GetSSLInfo(ssl_info); |
} |
+Error SpdySession::GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key, |
+ std::vector<uint8_t>* out) { |
+ if (!is_secure_) { |
+ NOTREACHED(); |
+ return ERR_FAILED; |
+ } |
+ SSLClientSocket* ssl_socket = |
+ static_cast<SSLClientSocket*>(connection_->socket()); |
+ return ssl_socket->GetSignedEKMForTokenBinding(key, out); |
+} |
+ |
void SpdySession::OnError(SpdyFramer::SpdyError error_code) { |
CHECK(in_io_loop_); |