OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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_MEDIA_SCTP_SCTPTRANSPORT_H_ | 11 #ifndef WEBRTC_MEDIA_SCTP_SCTPTRANSPORT_H_ |
12 #define WEBRTC_MEDIA_SCTP_SCTPTRANSPORT_H_ | 12 #define WEBRTC_MEDIA_SCTP_SCTPTRANSPORT_H_ |
13 | 13 |
14 #include <errno.h> | 14 #include <errno.h> |
15 | 15 |
16 #include <memory> // for unique_ptr. | 16 #include <memory> // for unique_ptr. |
17 #include <set> | 17 #include <set> |
18 #include <string> | 18 #include <string> |
19 #include <vector> | 19 #include <vector> |
20 | 20 |
21 #include "webrtc/rtc_base/asyncinvoker.h" | 21 #include "webrtc/base/asyncinvoker.h" |
22 #include "webrtc/rtc_base/constructormagic.h" | 22 #include "webrtc/base/constructormagic.h" |
23 #include "webrtc/rtc_base/copyonwritebuffer.h" | 23 #include "webrtc/base/copyonwritebuffer.h" |
24 #include "webrtc/rtc_base/sigslot.h" | 24 #include "webrtc/base/sigslot.h" |
25 #include "webrtc/rtc_base/thread.h" | 25 #include "webrtc/base/thread.h" |
26 // For SendDataParams/ReceiveDataParams. | 26 // For SendDataParams/ReceiveDataParams. |
27 #include "webrtc/media/base/mediachannel.h" | 27 #include "webrtc/media/base/mediachannel.h" |
28 #include "webrtc/media/sctp/sctptransportinternal.h" | 28 #include "webrtc/media/sctp/sctptransportinternal.h" |
29 | 29 |
30 // Defined by "usrsctplib/usrsctp.h" | 30 // Defined by "usrsctplib/usrsctp.h" |
31 struct sockaddr_conn; | 31 struct sockaddr_conn; |
32 struct sctp_assoc_change; | 32 struct sctp_assoc_change; |
33 struct sctp_stream_reset_event; | 33 struct sctp_stream_reset_event; |
34 // Defined by <sys/socket.h> | 34 // Defined by <sys/socket.h> |
35 struct socket; | 35 struct socket; |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 new SctpTransport(network_thread_, channel)); | 184 new SctpTransport(network_thread_, channel)); |
185 } | 185 } |
186 | 186 |
187 private: | 187 private: |
188 rtc::Thread* network_thread_; | 188 rtc::Thread* network_thread_; |
189 }; | 189 }; |
190 | 190 |
191 } // namespace cricket | 191 } // namespace cricket |
192 | 192 |
193 #endif // WEBRTC_MEDIA_SCTP_SCTPTRANSPORT_H_ | 193 #endif // WEBRTC_MEDIA_SCTP_SCTPTRANSPORT_H_ |
OLD | NEW |