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 <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <cstdlib> | 9 #include <cstdlib> |
10 #include <utility> | 10 #include <utility> |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 } | 308 } |
309 | 309 |
310 int FakeSSLClientSocket::GetPeerAddress(net::IPEndPoint* address) const { | 310 int FakeSSLClientSocket::GetPeerAddress(net::IPEndPoint* address) const { |
311 return transport_socket_->GetPeerAddress(address); | 311 return transport_socket_->GetPeerAddress(address); |
312 } | 312 } |
313 | 313 |
314 int FakeSSLClientSocket::GetLocalAddress(net::IPEndPoint* address) const { | 314 int FakeSSLClientSocket::GetLocalAddress(net::IPEndPoint* address) const { |
315 return transport_socket_->GetLocalAddress(address); | 315 return transport_socket_->GetLocalAddress(address); |
316 } | 316 } |
317 | 317 |
318 const net::BoundNetLog& FakeSSLClientSocket::NetLog() const { | 318 const net::NetLogWithSource& FakeSSLClientSocket::NetLog() const { |
319 return transport_socket_->NetLog(); | 319 return transport_socket_->NetLog(); |
320 } | 320 } |
321 | 321 |
322 void FakeSSLClientSocket::SetSubresourceSpeculation() { | 322 void FakeSSLClientSocket::SetSubresourceSpeculation() { |
323 transport_socket_->SetSubresourceSpeculation(); | 323 transport_socket_->SetSubresourceSpeculation(); |
324 } | 324 } |
325 | 325 |
326 void FakeSSLClientSocket::SetOmniboxSpeculation() { | 326 void FakeSSLClientSocket::SetOmniboxSpeculation() { |
327 transport_socket_->SetOmniboxSpeculation(); | 327 transport_socket_->SetOmniboxSpeculation(); |
328 } | 328 } |
(...skipping 18 matching lines...) Expand all Loading... |
347 net::ConnectionAttempts* out) const { | 347 net::ConnectionAttempts* out) const { |
348 out->clear(); | 348 out->clear(); |
349 } | 349 } |
350 | 350 |
351 int64_t FakeSSLClientSocket::GetTotalReceivedBytes() const { | 351 int64_t FakeSSLClientSocket::GetTotalReceivedBytes() const { |
352 NOTIMPLEMENTED(); | 352 NOTIMPLEMENTED(); |
353 return 0; | 353 return 0; |
354 } | 354 } |
355 | 355 |
356 } // namespace jingle_glue | 356 } // namespace jingle_glue |
OLD | NEW |