Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef REMOTING_PROTOCOL_P2P_SOCKET_H_ | |
| 6 #define REMOTING_PROTOCOL_P2P_SOCKET_H_ | |
| 7 | |
| 8 #include "net/socket/socket.h" | |
| 9 | |
| 10 namespace remoting { | |
| 11 namespace protocol { | |
| 12 | |
| 13 // Peer-to-peer socket with stream semantics. | |
| 14 class P2PStreamSocket : public net::Socket {}; | |
|
Wez
2015/06/22 15:49:07
As noted before, is there any value in deriving fr
Sergey Ulanov
2015/07/10 00:49:54
No. Rewrote these so they don't depend on net and
| |
| 15 | |
| 16 // Peer-to-peer socket with datagram semantics. | |
| 17 class P2PDatagramSocket : public net::Socket {}; | |
| 18 | |
| 19 } // namespace protocol | |
| 20 } // namespace remoting | |
| 21 | |
| 22 #endif // REMOTING_PROTOCOL_P2P_SOCKET_H_ | |
| OLD | NEW |