| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 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_JSEPTRANSPORT_H_ | 11 #ifndef WEBRTC_P2P_BASE_JSEPTRANSPORT_H_ |
| 12 #define WEBRTC_P2P_BASE_JSEPTRANSPORT_H_ | 12 #define WEBRTC_P2P_BASE_JSEPTRANSPORT_H_ |
| 13 | 13 |
| 14 #include <map> | 14 #include <map> |
| 15 #include <memory> | 15 #include <memory> |
| 16 #include <string> | 16 #include <string> |
| 17 #include <vector> | 17 #include <vector> |
| 18 | 18 |
| 19 #include "webrtc/api/optional.h" |
| 19 #include "webrtc/p2p/base/candidate.h" | 20 #include "webrtc/p2p/base/candidate.h" |
| 20 #include "webrtc/p2p/base/p2pconstants.h" | 21 #include "webrtc/p2p/base/p2pconstants.h" |
| 21 #include "webrtc/p2p/base/sessiondescription.h" | 22 #include "webrtc/p2p/base/sessiondescription.h" |
| 22 #include "webrtc/p2p/base/transportinfo.h" | 23 #include "webrtc/p2p/base/transportinfo.h" |
| 23 #include "webrtc/rtc_base/constructormagic.h" | 24 #include "webrtc/rtc_base/constructormagic.h" |
| 24 #include "webrtc/rtc_base/messagequeue.h" | 25 #include "webrtc/rtc_base/messagequeue.h" |
| 25 #include "webrtc/rtc_base/optional.h" | |
| 26 #include "webrtc/rtc_base/rtccertificate.h" | 26 #include "webrtc/rtc_base/rtccertificate.h" |
| 27 #include "webrtc/rtc_base/sigslot.h" | 27 #include "webrtc/rtc_base/sigslot.h" |
| 28 #include "webrtc/rtc_base/sslstreamadapter.h" | 28 #include "webrtc/rtc_base/sslstreamadapter.h" |
| 29 | 29 |
| 30 namespace cricket { | 30 namespace cricket { |
| 31 | 31 |
| 32 class DtlsTransportInternal; | 32 class DtlsTransportInternal; |
| 33 enum class IceCandidatePairState; | 33 enum class IceCandidatePairState; |
| 34 | 34 |
| 35 typedef std::vector<Candidate> Candidates; | 35 typedef std::vector<Candidate> Candidates; |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 | 374 |
| 375 // Candidate component => DTLS channel | 375 // Candidate component => DTLS channel |
| 376 std::map<int, DtlsTransportInternal*> channels_; | 376 std::map<int, DtlsTransportInternal*> channels_; |
| 377 | 377 |
| 378 RTC_DISALLOW_COPY_AND_ASSIGN(JsepTransport); | 378 RTC_DISALLOW_COPY_AND_ASSIGN(JsepTransport); |
| 379 }; | 379 }; |
| 380 | 380 |
| 381 } // namespace cricket | 381 } // namespace cricket |
| 382 | 382 |
| 383 #endif // WEBRTC_P2P_BASE_JSEPTRANSPORT_H_ | 383 #endif // WEBRTC_P2P_BASE_JSEPTRANSPORT_H_ |
| OLD | NEW |