OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2009 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2009 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_PC_SRTPFILTER_H_ | 11 #ifndef WEBRTC_PC_SRTPFILTER_H_ |
12 #define WEBRTC_PC_SRTPFILTER_H_ | 12 #define WEBRTC_PC_SRTPFILTER_H_ |
13 | 13 |
14 #include <list> | 14 #include <list> |
15 #include <map> | 15 #include <map> |
16 #include <memory> | 16 #include <memory> |
17 #include <string> | 17 #include <string> |
18 #include <vector> | 18 #include <vector> |
19 | 19 |
| 20 #include "webrtc/base/basictypes.h" |
| 21 #include "webrtc/base/constructormagic.h" |
| 22 #include "webrtc/base/criticalsection.h" |
| 23 #include "webrtc/base/sslstreamadapter.h" |
| 24 #include "webrtc/base/thread_checker.h" |
20 #include "webrtc/media/base/cryptoparams.h" | 25 #include "webrtc/media/base/cryptoparams.h" |
21 #include "webrtc/p2p/base/sessiondescription.h" | 26 #include "webrtc/p2p/base/sessiondescription.h" |
22 #include "webrtc/rtc_base/basictypes.h" | |
23 #include "webrtc/rtc_base/constructormagic.h" | |
24 #include "webrtc/rtc_base/criticalsection.h" | |
25 #include "webrtc/rtc_base/sslstreamadapter.h" | |
26 #include "webrtc/rtc_base/thread_checker.h" | |
27 | 27 |
28 // Forward declaration to avoid pulling in libsrtp headers here | 28 // Forward declaration to avoid pulling in libsrtp headers here |
29 struct srtp_event_data_t; | 29 struct srtp_event_data_t; |
30 struct srtp_ctx_t_; | 30 struct srtp_ctx_t_; |
31 | 31 |
32 namespace cricket { | 32 namespace cricket { |
33 | 33 |
34 class SrtpSession; | 34 class SrtpSession; |
35 | 35 |
36 void ShutdownSrtp(); | 36 void ShutdownSrtp(); |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 int last_send_seq_num_ = -1; | 268 int last_send_seq_num_ = -1; |
269 bool external_auth_active_ = false; | 269 bool external_auth_active_ = false; |
270 bool external_auth_enabled_ = false; | 270 bool external_auth_enabled_ = false; |
271 std::vector<int> encrypted_header_extension_ids_; | 271 std::vector<int> encrypted_header_extension_ids_; |
272 RTC_DISALLOW_COPY_AND_ASSIGN(SrtpSession); | 272 RTC_DISALLOW_COPY_AND_ASSIGN(SrtpSession); |
273 }; | 273 }; |
274 | 274 |
275 } // namespace cricket | 275 } // namespace cricket |
276 | 276 |
277 #endif // WEBRTC_PC_SRTPFILTER_H_ | 277 #endif // WEBRTC_PC_SRTPFILTER_H_ |
OLD | NEW |