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

Side by Side Diff: webrtc/p2p/base/packettransportinterface.h

Issue 2606123002: Remove the dependency of TransportChannel and TransportChannelImpl. (Closed)
Patch Set: Merge Created 3 years, 11 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
1 /* 1 /*
2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2016 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef WEBRTC_P2P_BASE_PACKETTRANSPORTINTERFACE_H_ 11 #ifndef WEBRTC_P2P_BASE_PACKETTRANSPORTINTERFACE_H_
12 #define WEBRTC_P2P_BASE_PACKETTRANSPORTINTERFACE_H_ 12 #define WEBRTC_P2P_BASE_PACKETTRANSPORTINTERFACE_H_
13 13
14 #include <string> 14 #include <string>
15 #include <vector> 15 #include <vector>
16 16
17 #include "webrtc/base/asyncpacketsocket.h"
Taylor Brandstetter 2017/01/10 19:43:47 Can you leave a comment that this included for Pac
Zhi Huang 2017/01/12 20:04:12 Done.
17 #include "webrtc/base/sigslot.h" 18 #include "webrtc/base/sigslot.h"
18 #include "webrtc/base/socket.h" 19 #include "webrtc/base/socket.h"
19 20
20 namespace cricket { 21 namespace cricket {
21 class TransportChannel; 22 class TransportChannel;
22 } 23 }
23 24
24 namespace rtc { 25 namespace rtc {
25 struct PacketOptions; 26 struct PacketOptions;
26 struct PacketTime; 27 struct PacketTime;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 SignalReadPacket; 87 SignalReadPacket;
87 88
88 // Signalled each time a packet is sent on this channel. 89 // Signalled each time a packet is sent on this channel.
89 sigslot::signal2<PacketTransportInterface*, const rtc::SentPacket&> 90 sigslot::signal2<PacketTransportInterface*, const rtc::SentPacket&>
90 SignalSentPacket; 91 SignalSentPacket;
91 }; 92 };
92 93
93 } // namespace rtc 94 } // namespace rtc
94 95
95 #endif // WEBRTC_P2P_BASE_PACKETTRANSPORTINTERFACE_H_ 96 #endif // WEBRTC_P2P_BASE_PACKETTRANSPORTINTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698