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

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

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
« no previous file with comments | « media/cast/cast_sender.gyp ('k') | 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 return frame_input_; 36 virtual scoped_refptr<PacketReceiver> packet_receiver() OVERRIDE;
37 }
38
39 virtual scoped_refptr<PacketReceiver> packet_receiver() OVERRIDE {
40 return packet_receiver_;
41 }
42 37
43 private: 38 private:
44 PacedSender pacer_; 39 PacedSender pacer_;
45 AudioSender audio_sender_; 40 AudioSender audio_sender_;
46 VideoSender video_sender_; 41 VideoSender video_sender_;
47 scoped_refptr<FrameInput> frame_input_; 42 scoped_refptr<FrameInput> frame_input_;
48 scoped_refptr<PacketReceiver> packet_receiver_; 43 scoped_refptr<PacketReceiver> packet_receiver_;
49 }; 44 };
50 45
51 } // namespace cast 46 } // namespace cast
52 } // namespace media 47 } // namespace media
53 48
54 #endif // MEDIA_CAST_CAST_SENDER_IMPL_H_ 49 #endif // MEDIA_CAST_CAST_SENDER_IMPL_H_
55 50
OLDNEW
« no previous file with comments | « media/cast/cast_sender.gyp ('k') | media/cast/cast_sender_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698