OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/notifier/base/fake_ssl_client_socket.h" | 5 #include "jingle/notifier/base/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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 } | 329 } |
330 | 330 |
331 bool FakeSSLClientSocket::WasEverUsed() const { | 331 bool FakeSSLClientSocket::WasEverUsed() const { |
332 return transport_socket_->WasEverUsed(); | 332 return transport_socket_->WasEverUsed(); |
333 } | 333 } |
334 | 334 |
335 bool FakeSSLClientSocket::UsingTCPFastOpen() const { | 335 bool FakeSSLClientSocket::UsingTCPFastOpen() const { |
336 return transport_socket_->UsingTCPFastOpen(); | 336 return transport_socket_->UsingTCPFastOpen(); |
337 } | 337 } |
338 | 338 |
| 339 int64 FakeSSLClientSocket::NumBytesRead() const { |
| 340 return transport_socket_->NumBytesRead(); |
| 341 } |
| 342 |
| 343 base::TimeDelta FakeSSLClientSocket::GetConnectTimeMicros() const { |
| 344 return transport_socket_->GetConnectTimeMicros(); |
| 345 } |
| 346 |
339 } // namespace notifier | 347 } // namespace notifier |
OLD | NEW |