Chromium Code Reviews

Side by Side Diff: talk/session/media/srtpfilter.h

Issue 1610243002: Move talk/app/webrtc to webrtc/api (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Updated location for peerconnection_unittests.isolate Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2009 Google Inc. 3 * Copyright 2009 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 16 matching lines...)
27 27
28 #ifndef TALK_SESSION_MEDIA_SRTPFILTER_H_ 28 #ifndef TALK_SESSION_MEDIA_SRTPFILTER_H_
29 #define TALK_SESSION_MEDIA_SRTPFILTER_H_ 29 #define TALK_SESSION_MEDIA_SRTPFILTER_H_
30 30
31 #include <list> 31 #include <list>
32 #include <map> 32 #include <map>
33 #include <string> 33 #include <string>
34 #include <vector> 34 #include <vector>
35 35
36 #include "talk/media/base/cryptoparams.h" 36 #include "talk/media/base/cryptoparams.h"
37 #include "webrtc/p2p/base/sessiondescription.h"
38 #include "webrtc/base/basictypes.h" 37 #include "webrtc/base/basictypes.h"
39 #include "webrtc/base/criticalsection.h" 38 #include "webrtc/base/criticalsection.h"
40 #include "webrtc/base/scoped_ptr.h" 39 #include "webrtc/base/scoped_ptr.h"
41 #include "webrtc/base/sigslotrepeater.h" 40 #include "webrtc/base/sigslotrepeater.h"
42 #include "webrtc/base/sslstreamadapter.h" 41 #include "webrtc/base/sslstreamadapter.h"
42 #include "webrtc/p2p/base/sessiondescription.h"
43 43
44 // Forward declaration to avoid pulling in libsrtp headers here 44 // Forward declaration to avoid pulling in libsrtp headers here
45 struct srtp_event_data_t; 45 struct srtp_event_data_t;
46 struct srtp_ctx_t; 46 struct srtp_ctx_t;
47 struct srtp_policy_t; 47 struct srtp_policy_t;
48 48
49 namespace cricket { 49 namespace cricket {
50 50
51 // Key is 128 bits and salt is 112 bits == 30 bytes. B64 bloat => 40 bytes. 51 // Key is 128 bits and salt is 112 bits == 30 bytes. B64 bloat => 40 bytes.
52 extern const int SRTP_MASTER_KEY_BASE64_LEN; 52 extern const int SRTP_MASTER_KEY_BASE64_LEN;
(...skipping 268 matching lines...)
321 std::map<FailureKey, FailureStat> failures_; 321 std::map<FailureKey, FailureStat> failures_;
322 // Threshold in ms to silent the signaling errors. 322 // Threshold in ms to silent the signaling errors.
323 uint32_t signal_silent_time_; 323 uint32_t signal_silent_time_;
324 324
325 RTC_DISALLOW_COPY_AND_ASSIGN(SrtpStat); 325 RTC_DISALLOW_COPY_AND_ASSIGN(SrtpStat);
326 }; 326 };
327 327
328 } // namespace cricket 328 } // namespace cricket
329 329
330 #endif // TALK_SESSION_MEDIA_SRTPFILTER_H_ 330 #endif // TALK_SESSION_MEDIA_SRTPFILTER_H_
OLDNEW

Powered by Google App Engine