Chromium Code Reviews| Index: media/cast/audio_sender/audio_sender.h |
| diff --git a/media/cast/audio_sender/audio_sender.h b/media/cast/audio_sender/audio_sender.h |
| index ca1fffb37f2416664f5dae8a3a6cbad7997b1287..5abdfcc10a7fa43636be65a7e074415c39dc90da 100644 |
| --- a/media/cast/audio_sender/audio_sender.h |
| +++ b/media/cast/audio_sender/audio_sender.h |
| @@ -12,6 +12,7 @@ |
| #include "base/threading/non_thread_safe.h" |
| #include "base/time/tick_clock.h" |
| #include "base/time/time.h" |
| +#include "crypto/encryptor.h" |
| #include "media/cast/cast_config.h" |
| #include "media/cast/cast_environment.h" |
| #include "media/cast/rtcp/rtcp.h" |
| @@ -66,6 +67,9 @@ class AudioSender : public base::NonThreadSafe, |
| void ResendPackets( |
| const MissingFramesAndPacketsMap& missing_frames_and_packets); |
| + bool EncryptAudioFrame(const EncodedAudioFrame* audio_frame, |
|
Alpha Left Google
2013/11/07 01:10:11
Why not just return scoped_ptr<T>?
pwestin
2013/11/07 17:16:04
Same as above; I think this is cleaner since the p
|
| + EncodedAudioFrame* encrypted_frame); |
| + |
| void ScheduleNextRtcpReport(); |
| void SendRtcpReport(); |
| @@ -78,6 +82,8 @@ class AudioSender : public base::NonThreadSafe, |
| scoped_ptr<LocalRtpSenderStatistics> rtp_audio_sender_statistics_; |
| scoped_ptr<LocalRtcpAudioSenderFeedback> rtcp_feedback_; |
| Rtcp rtcp_; |
| + scoped_ptr<crypto::Encryptor> encryptor_; |
| + std::string iv_mask_; |
| DISALLOW_COPY_AND_ASSIGN(AudioSender); |
| }; |