| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "jingle/glue/fake_ssl_client_socket.h" | 5 #include "jingle/glue/fake_ssl_client_socket.h" |
| 6 | 6 |
| 7 #include <cstdlib> | 7 #include <cstdlib> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 } | 323 } |
| 324 | 324 |
| 325 bool FakeSSLClientSocket::WasEverUsed() const { | 325 bool FakeSSLClientSocket::WasEverUsed() const { |
| 326 return transport_socket_->WasEverUsed(); | 326 return transport_socket_->WasEverUsed(); |
| 327 } | 327 } |
| 328 | 328 |
| 329 bool FakeSSLClientSocket::UsingTCPFastOpen() const { | 329 bool FakeSSLClientSocket::UsingTCPFastOpen() const { |
| 330 return transport_socket_->UsingTCPFastOpen(); | 330 return transport_socket_->UsingTCPFastOpen(); |
| 331 } | 331 } |
| 332 | 332 |
| 333 int64 FakeSSLClientSocket::NumBytesRead() const { | |
| 334 return transport_socket_->NumBytesRead(); | |
| 335 } | |
| 336 | |
| 337 base::TimeDelta FakeSSLClientSocket::GetConnectTimeMicros() const { | |
| 338 return transport_socket_->GetConnectTimeMicros(); | |
| 339 } | |
| 340 | |
| 341 bool FakeSSLClientSocket::WasNpnNegotiated() const { | 333 bool FakeSSLClientSocket::WasNpnNegotiated() const { |
| 342 return transport_socket_->WasNpnNegotiated(); | 334 return transport_socket_->WasNpnNegotiated(); |
| 343 } | 335 } |
| 344 | 336 |
| 345 net::NextProto FakeSSLClientSocket::GetNegotiatedProtocol() const { | 337 net::NextProto FakeSSLClientSocket::GetNegotiatedProtocol() const { |
| 346 return transport_socket_->GetNegotiatedProtocol(); | 338 return transport_socket_->GetNegotiatedProtocol(); |
| 347 } | 339 } |
| 348 | 340 |
| 349 bool FakeSSLClientSocket::GetSSLInfo(net::SSLInfo* ssl_info) { | 341 bool FakeSSLClientSocket::GetSSLInfo(net::SSLInfo* ssl_info) { |
| 350 return transport_socket_->GetSSLInfo(ssl_info); | 342 return transport_socket_->GetSSLInfo(ssl_info); |
| 351 } | 343 } |
| 352 | 344 |
| 353 } // namespace jingle_glue | 345 } // namespace jingle_glue |
| OLD | NEW |