Index: net/socket/ssl_client_socket_mac.cc |
=================================================================== |
--- net/socket/ssl_client_socket_mac.cc (revision 90003) |
+++ net/socket/ssl_client_socket_mac.cc (working copy) |
@@ -658,6 +658,22 @@ |
return false; |
} |
+int64 SSLClientSocketMac::NumBytesRead() const { |
+ if (transport_.get() && transport_->socket()) { |
+ return transport_->socket()->NumBytesRead(); |
+ } |
+ NOTREACHED(); |
+ return -1; |
+} |
+ |
+int SSLClientSocketMac::GetConnectTimeMicros() const { |
+ if (transport_.get() && transport_->socket()) { |
+ return transport_->socket()->GetConnectTimeMicros(); |
+ } |
+ NOTREACHED(); |
+ return -1; |
+} |
+ |
int SSLClientSocketMac::Read(IOBuffer* buf, int buf_len, |
CompletionCallback* callback) { |
DCHECK(completed_handshake()); |