OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "remoting/protocol/pseudotcp_adapter.h" | 5 #include "remoting/protocol/pseudotcp_adapter.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
| 9 #include <utility> |
| 10 |
9 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
10 #include "base/logging.h" | 12 #include "base/logging.h" |
11 #include "base/macros.h" | 13 #include "base/macros.h" |
12 #include "base/time/time.h" | 14 #include "base/time/time.h" |
13 #include "base/timer/timer.h" | 15 #include "base/timer/timer.h" |
14 #include "net/base/address_list.h" | 16 #include "net/base/address_list.h" |
15 #include "net/base/completion_callback.h" | 17 #include "net/base/completion_callback.h" |
16 #include "net/base/io_buffer.h" | 18 #include "net/base/io_buffer.h" |
17 #include "net/base/net_errors.h" | 19 #include "net/base/net_errors.h" |
18 #include "net/base/net_util.h" | 20 #include "net/base/net_util.h" |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 core_->SetNoDelay(no_delay); | 503 core_->SetNoDelay(no_delay); |
502 } | 504 } |
503 | 505 |
504 void PseudoTcpAdapter::SetWriteWaitsForSend(bool write_waits_for_send) { | 506 void PseudoTcpAdapter::SetWriteWaitsForSend(bool write_waits_for_send) { |
505 DCHECK(CalledOnValidThread()); | 507 DCHECK(CalledOnValidThread()); |
506 core_->SetWriteWaitsForSend(write_waits_for_send); | 508 core_->SetWriteWaitsForSend(write_waits_for_send); |
507 } | 509 } |
508 | 510 |
509 } // namespace protocol | 511 } // namespace protocol |
510 } // namespace remoting | 512 } // namespace remoting |
OLD | NEW |