Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Side by Side Diff: media/cast/audio_sender/audio_sender.cc

Issue 25544003: Fix code style and gyp files in cast to build cast_unittest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed gyp files Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/cast/audio_sender/audio_sender.h" 5 #include "media/cast/audio_sender/audio_sender.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "media/cast/audio_sender/audio_encoder.h" 10 #include "media/cast/audio_sender/audio_encoder.h"
11 #include "media/cast/rtcp/rtcp.h" 11 #include "media/cast/rtcp/rtcp.h"
12 #include "media/cast/rtp_sender/rtp_sender.h" 12 #include "media/cast/rtp_sender/rtp_sender.h"
13 13
14 namespace media { 14 namespace media {
15 namespace cast { 15 namespace cast {
16 16
17 const int64 kMinSchedulingDelayMs = 1; 17 const int64 kMinSchedulingDelayMs = 1;
18 18
19 class LocalRtcpAudioSenderFeedback : public RtcpSenderFeedback { 19 class LocalRtcpAudioSenderFeedback : public RtcpSenderFeedback {
20 public: 20 public:
21 explicit LocalRtcpAudioSenderFeedback(AudioSender* audio_sender) 21 explicit LocalRtcpAudioSenderFeedback(AudioSender* audio_sender)
22 : audio_sender_(audio_sender) { 22 : audio_sender_(audio_sender) {
23 } 23 }
24 24
25 virtual void OnReceivedSendReportRequest() OVERRIDE {
26 DCHECK(false) << "Invalid callback";
27 }
28
29 virtual void OnReceivedReportBlock( 25 virtual void OnReceivedReportBlock(
30 const RtcpReportBlock& report_block) OVERRIDE { 26 const RtcpReportBlock& report_block) OVERRIDE {
31 DCHECK(false) << "Invalid callback"; 27 DCHECK(false) << "Invalid callback";
32 } 28 }
33 29
34 virtual void OnReceivedIntraFrameRequest() OVERRIDE { 30 virtual void OnReceivedIntraFrameRequest() OVERRIDE {
35 DCHECK(false) << "Invalid callback"; 31 DCHECK(false) << "Invalid callback";
36 } 32 }
37 33
38 34
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 time_to_next); 154 time_to_next);
159 } 155 }
160 156
161 void AudioSender::SendRtcpReport() { 157 void AudioSender::SendRtcpReport() {
162 rtcp_.SendRtcpReport(incoming_feedback_ssrc_); 158 rtcp_.SendRtcpReport(incoming_feedback_ssrc_);
163 ScheduleNextRtcpReport(); 159 ScheduleNextRtcpReport();
164 } 160 }
165 161
166 } // namespace cast 162 } // namespace cast
167 } // namespace media 163 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/audio_sender/audio_encoder_unittest.cc ('k') | media/cast/audio_sender/audio_sender_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698