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/pseudotcp_adapter.h" | 5 #include "jingle/glue/pseudotcp_adapter.h" |
6 | 6 |
7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
10 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 net::NextProto PseudoTcpAdapter::GetNegotiatedProtocol() const { | 575 net::NextProto PseudoTcpAdapter::GetNegotiatedProtocol() const { |
576 DCHECK(CalledOnValidThread()); | 576 DCHECK(CalledOnValidThread()); |
577 return net::kProtoUnknown; | 577 return net::kProtoUnknown; |
578 } | 578 } |
579 | 579 |
580 bool PseudoTcpAdapter::GetSSLInfo(net::SSLInfo* ssl_info) { | 580 bool PseudoTcpAdapter::GetSSLInfo(net::SSLInfo* ssl_info) { |
581 DCHECK(CalledOnValidThread()); | 581 DCHECK(CalledOnValidThread()); |
582 return false; | 582 return false; |
583 } | 583 } |
584 | 584 |
| 585 void PseudoTcpAdapter::GetConnectionAttempts( |
| 586 net::ConnectionAttempts* out) const { |
| 587 DCHECK(CalledOnValidThread()); |
| 588 out->clear(); |
| 589 } |
| 590 |
585 void PseudoTcpAdapter::SetAckDelay(int delay_ms) { | 591 void PseudoTcpAdapter::SetAckDelay(int delay_ms) { |
586 DCHECK(CalledOnValidThread()); | 592 DCHECK(CalledOnValidThread()); |
587 core_->SetAckDelay(delay_ms); | 593 core_->SetAckDelay(delay_ms); |
588 } | 594 } |
589 | 595 |
590 void PseudoTcpAdapter::SetNoDelay(bool no_delay) { | 596 void PseudoTcpAdapter::SetNoDelay(bool no_delay) { |
591 DCHECK(CalledOnValidThread()); | 597 DCHECK(CalledOnValidThread()); |
592 core_->SetNoDelay(no_delay); | 598 core_->SetNoDelay(no_delay); |
593 } | 599 } |
594 | 600 |
595 void PseudoTcpAdapter::SetWriteWaitsForSend(bool write_waits_for_send) { | 601 void PseudoTcpAdapter::SetWriteWaitsForSend(bool write_waits_for_send) { |
596 DCHECK(CalledOnValidThread()); | 602 DCHECK(CalledOnValidThread()); |
597 core_->SetWriteWaitsForSend(write_waits_for_send); | 603 core_->SetWriteWaitsForSend(write_waits_for_send); |
598 } | 604 } |
599 | 605 |
600 } // namespace jingle_glue | 606 } // namespace jingle_glue |
OLD | NEW |