Chromium Code Reviews| Index: remoting/protocol/p2p_socket.h |
| diff --git a/remoting/protocol/p2p_socket.h b/remoting/protocol/p2p_socket.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..67f12103e19e012cc1ce9a16d7805cd5ddfc8b6f |
| --- /dev/null |
| +++ b/remoting/protocol/p2p_socket.h |
| @@ -0,0 +1,22 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef REMOTING_PROTOCOL_P2P_SOCKET_H_ |
| +#define REMOTING_PROTOCOL_P2P_SOCKET_H_ |
| + |
| +#include "net/socket/socket.h" |
| + |
| +namespace remoting { |
| +namespace protocol { |
| + |
| +// Peer-to-peer socket with stream semantics. |
| +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
|
| + |
| +// Peer-to-peer socket with datagram semantics. |
| +class P2PDatagramSocket : public net::Socket {}; |
| + |
| +} // namespace protocol |
| +} // namespace remoting |
| + |
| +#endif // REMOTING_PROTOCOL_P2P_SOCKET_H_ |