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

Side by Side Diff: media/cast/video_sender/video_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/video_sender/video_sender.h" 5 #include "media/cast/video_sender/video_sender.h"
6 6
7 #include <list> 7 #include <list>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "media/cast/cast_defines.h" 12 #include "media/cast/cast_defines.h"
13 #include "media/cast/pacing/paced_sender.h" 13 #include "media/cast/pacing/paced_sender.h"
14 #include "media/cast/video_sender/video_encoder.h" 14 #include "media/cast/video_sender/video_encoder.h"
15 15
16 namespace media { 16 namespace media {
17 namespace cast { 17 namespace cast {
18 18
19 const int64 kMinSchedulingDelayMs = 1; 19 const int64 kMinSchedulingDelayMs = 1;
20 20
21 class LocalRtcpVideoSenderFeedback : public RtcpSenderFeedback { 21 class LocalRtcpVideoSenderFeedback : public RtcpSenderFeedback {
22 public: 22 public:
23 explicit LocalRtcpVideoSenderFeedback(VideoSender* video_sender) 23 explicit LocalRtcpVideoSenderFeedback(VideoSender* video_sender)
24 : video_sender_(video_sender) { 24 : video_sender_(video_sender) {
25 } 25 }
26 26
27 virtual void OnReceivedSendReportRequest() OVERRIDE {} 27 virtual void OnReceivedSendReportRequest() {}
28 28
29 virtual void OnReceivedReportBlock( 29 virtual void OnReceivedReportBlock(
30 const RtcpReportBlock& report_block) OVERRIDE {} 30 const RtcpReportBlock& report_block) OVERRIDE {}
31 31
32 virtual void OnReceivedRpsi(uint8 payload_type, 32 virtual void OnReceivedRpsi(uint8 payload_type,
33 uint64 picture_id) OVERRIDE { 33 uint64 picture_id) OVERRIDE {
34 NOTIMPLEMENTED(); 34 NOTIMPLEMENTED();
35 } 35 }
36 36
37 virtual void OnReceivedRemb(uint32 bitrate) OVERRIDE { 37 virtual void OnReceivedRemb(uint32 bitrate) OVERRIDE {
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 void VideoSender::ResendFrame(uint8 resend_frame_id) { 337 void VideoSender::ResendFrame(uint8 resend_frame_id) {
338 MissingFramesAndPacketsMap missing_frames_and_packets; 338 MissingFramesAndPacketsMap missing_frames_and_packets;
339 PacketIdSet missing; 339 PacketIdSet missing;
340 missing_frames_and_packets.insert(std::make_pair(resend_frame_id, missing)); 340 missing_frames_and_packets.insert(std::make_pair(resend_frame_id, missing));
341 rtp_sender_->ResendPackets(missing_frames_and_packets); 341 rtp_sender_->ResendPackets(missing_frames_and_packets);
342 last_send_time_ = clock_->NowTicks(); 342 last_send_time_ = clock_->NowTicks();
343 } 343 }
344 344
345 } // namespace cast 345 } // namespace cast
346 } // namespace media 346 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/video_sender/video_encoder_unittest.cc ('k') | media/cast/video_sender/video_sender_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698