Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Side by Side Diff: remoting/protocol/p2p_socket.h

Issue 1197853003: Add P2PDatagramSocket and P2PStreamSocket interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698