Index: jingle/notifier/base/proxy_resolving_client_socket.cc |
=================================================================== |
--- jingle/notifier/base/proxy_resolving_client_socket.cc (revision 90217) |
+++ jingle/notifier/base/proxy_resolving_client_socket.cc (working copy) |
@@ -342,6 +342,20 @@ |
return false; |
} |
+int64 ProxyResolvingClientSocket::NumBytesRead() const { |
+ if (transport_.get() && transport_->socket()) |
+ return transport_->socket()->NumBytesRead(); |
+ NOTREACHED(); |
+ return -1; |
+} |
+ |
+base::TimeDelta ProxyResolvingClientSocket::GetConnectTimeMicros() const { |
+ if (transport_.get() && transport_->socket()) |
+ return transport_->socket()->GetConnectTimeMicros(); |
+ NOTREACHED(); |
+ return base::TimeDelta::FromMicroseconds(-1); |
+} |
+ |
void ProxyResolvingClientSocket::CloseTransportSocket() { |
if (transport_.get() && transport_->socket()) |
transport_->socket()->Disconnect(); |