OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/logging.h" | 8 #include "base/logging.h" |
8 #include "base/time.h" | 9 #include "base/time.h" |
9 #include "net/base/address_list.h" | 10 #include "net/base/address_list.h" |
10 #include "net/base/completion_callback.h" | 11 #include "net/base/completion_callback.h" |
11 #include "net/base/io_buffer.h" | 12 #include "net/base/io_buffer.h" |
12 #include "net/base/net_errors.h" | 13 #include "net/base/net_errors.h" |
13 #include "net/base/net_util.h" | 14 #include "net/base/net_util.h" |
14 | 15 |
15 using cricket::PseudoTcp; | 16 using cricket::PseudoTcp; |
16 | 17 |
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 DCHECK(CalledOnValidThread()); | 501 DCHECK(CalledOnValidThread()); |
501 core_->SetAckDelay(delay_ms); | 502 core_->SetAckDelay(delay_ms); |
502 } | 503 } |
503 | 504 |
504 void PseudoTcpAdapter::SetNoDelay(bool no_delay) { | 505 void PseudoTcpAdapter::SetNoDelay(bool no_delay) { |
505 DCHECK(CalledOnValidThread()); | 506 DCHECK(CalledOnValidThread()); |
506 core_->SetNoDelay(no_delay); | 507 core_->SetNoDelay(no_delay); |
507 } | 508 } |
508 | 509 |
509 } // namespace jingle_glue | 510 } // namespace jingle_glue |
OLD | NEW |