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

Side by Side Diff: trunk/src/media/cast/cast_sender_impl.h

Issue 25546003: Revert 226264 "Be able to build cast_unittest and related target..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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
« no previous file with comments | « trunk/src/media/cast/cast_sender.gyp ('k') | trunk/src/media/cast/cast_sender_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef MEDIA_CAST_CAST_SENDER_IMPL_H_ 4 #ifndef MEDIA_CAST_CAST_SENDER_IMPL_H_
5 #define MEDIA_CAST_CAST_SENDER_IMPL_H_ 5 #define MEDIA_CAST_CAST_SENDER_IMPL_H_
6 6
7 #include "base/memory/ref_counted.h" 7 #include "base/memory/ref_counted.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "media/cast/audio_sender/audio_sender.h" 9 #include "media/cast/audio_sender/audio_sender.h"
10 #include "media/cast/cast_config.h" 10 #include "media/cast/cast_config.h"
(...skipping 14 matching lines...) Expand all
25 class CastSenderImpl : public CastSender { 25 class CastSenderImpl : public CastSender {
26 public: 26 public:
27 CastSenderImpl(scoped_refptr<CastThread> cast_thread, 27 CastSenderImpl(scoped_refptr<CastThread> cast_thread,
28 const AudioSenderConfig& audio_config, 28 const AudioSenderConfig& audio_config,
29 const VideoSenderConfig& video_config, 29 const VideoSenderConfig& video_config,
30 VideoEncoderController* const video_encoder_controller, 30 VideoEncoderController* const video_encoder_controller,
31 PacketSender* const packet_sender); 31 PacketSender* const packet_sender);
32 32
33 virtual ~CastSenderImpl(); 33 virtual ~CastSenderImpl();
34 34
35 virtual scoped_refptr<FrameInput> frame_input() OVERRIDE; 35 virtual scoped_refptr<FrameInput> frame_input() OVERRIDE {
36 virtual scoped_refptr<PacketReceiver> packet_receiver() OVERRIDE; 36 return frame_input_;
37 }
38
39 virtual scoped_refptr<PacketReceiver> packet_receiver() OVERRIDE {
40 return packet_receiver_;
41 }
37 42
38 private: 43 private:
39 PacedSender pacer_; 44 PacedSender pacer_;
40 AudioSender audio_sender_; 45 AudioSender audio_sender_;
41 VideoSender video_sender_; 46 VideoSender video_sender_;
42 scoped_refptr<FrameInput> frame_input_; 47 scoped_refptr<FrameInput> frame_input_;
43 scoped_refptr<PacketReceiver> packet_receiver_; 48 scoped_refptr<PacketReceiver> packet_receiver_;
44 }; 49 };
45 50
46 } // namespace cast 51 } // namespace cast
47 } // namespace media 52 } // namespace media
48 53
49 #endif // MEDIA_CAST_CAST_SENDER_IMPL_H_ 54 #endif // MEDIA_CAST_CAST_SENDER_IMPL_H_
50 55
OLDNEW
« no previous file with comments | « trunk/src/media/cast/cast_sender.gyp ('k') | trunk/src/media/cast/cast_sender_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698