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 #ifndef REMOTING_PROTOCOL_PSEUDOTCP_ADAPTER_H_ | 5 #ifndef REMOTING_PROTOCOL_PSEUDOTCP_ADAPTER_H_ |
6 #define REMOTING_PROTOCOL_PSEUDOTCP_ADAPTER_H_ | 6 #define REMOTING_PROTOCOL_PSEUDOTCP_ADAPTER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 // | 66 // |
67 // TODO(sergeyu): Remove this flag once remoting has a better | 67 // TODO(sergeyu): Remove this flag once remoting has a better |
68 // flow-control solution. | 68 // flow-control solution. |
69 void SetWriteWaitsForSend(bool write_waits_for_send); | 69 void SetWriteWaitsForSend(bool write_waits_for_send); |
70 | 70 |
71 private: | 71 private: |
72 class Core; | 72 class Core; |
73 | 73 |
74 scoped_refptr<Core> core_; | 74 scoped_refptr<Core> core_; |
75 | 75 |
76 net::BoundNetLog net_log_; | 76 net::NetLogWithSource net_log_; |
77 | 77 |
78 DISALLOW_COPY_AND_ASSIGN(PseudoTcpAdapter); | 78 DISALLOW_COPY_AND_ASSIGN(PseudoTcpAdapter); |
79 }; | 79 }; |
80 | 80 |
81 } // namespace protocol | 81 } // namespace protocol |
82 } // namespace remoting | 82 } // namespace remoting |
83 | 83 |
84 #endif // REMOTING_PROTOCOL_PSEUDOTCP_ADAPTER_H_ | 84 #endif // REMOTING_PROTOCOL_PSEUDOTCP_ADAPTER_H_ |
OLD | NEW |