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 TALK_SESSION_MEDIA_SRTPFILTER_H_ | 11 #ifndef TALK_SESSION_MEDIA_SRTPFILTER_H_ |
12 #define TALK_SESSION_MEDIA_SRTPFILTER_H_ | 12 #define TALK_SESSION_MEDIA_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" | 20 #include "webrtc/base/basictypes.h" |
| 21 #include "webrtc/base/constructormagic.h" |
21 #include "webrtc/base/criticalsection.h" | 22 #include "webrtc/base/criticalsection.h" |
22 #include "webrtc/base/sigslotrepeater.h" | 23 #include "webrtc/base/sigslotrepeater.h" |
23 #include "webrtc/base/sslstreamadapter.h" | 24 #include "webrtc/base/sslstreamadapter.h" |
24 #include "webrtc/media/base/cryptoparams.h" | 25 #include "webrtc/media/base/cryptoparams.h" |
25 #include "webrtc/p2p/base/sessiondescription.h" | 26 #include "webrtc/p2p/base/sessiondescription.h" |
26 | 27 |
27 // Forward declaration to avoid pulling in libsrtp headers here | 28 // Forward declaration to avoid pulling in libsrtp headers here |
28 struct srtp_event_data_t; | 29 struct srtp_event_data_t; |
29 struct srtp_ctx_t; | 30 struct srtp_ctx_t; |
30 struct srtp_policy_t; | 31 struct srtp_policy_t; |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 std::map<FailureKey, FailureStat> failures_; | 305 std::map<FailureKey, FailureStat> failures_; |
305 // Threshold in ms to silent the signaling errors. | 306 // Threshold in ms to silent the signaling errors. |
306 uint32_t signal_silent_time_; | 307 uint32_t signal_silent_time_; |
307 | 308 |
308 RTC_DISALLOW_COPY_AND_ASSIGN(SrtpStat); | 309 RTC_DISALLOW_COPY_AND_ASSIGN(SrtpStat); |
309 }; | 310 }; |
310 | 311 |
311 } // namespace cricket | 312 } // namespace cricket |
312 | 313 |
313 #endif // TALK_SESSION_MEDIA_SRTPFILTER_H_ | 314 #endif // TALK_SESSION_MEDIA_SRTPFILTER_H_ |
OLD | NEW |