OLD | NEW |
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 #ifndef MEDIA_CAST_CAST_RECEIVER_IMPL_H_ | 5 #ifndef MEDIA_CAST_CAST_RECEIVER_IMPL_H_ |
6 #define MEDIA_CAST_CAST_RECEIVER_IMPL_H_ | 6 #define MEDIA_CAST_CAST_RECEIVER_IMPL_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "media/cast/audio_receiver/audio_receiver.h" | 10 #include "media/cast/audio_receiver/audio_receiver.h" |
11 #include "media/cast/cast_config.h" | 11 #include "media/cast/cast_config.h" |
12 #include "media/cast/cast_environment.h" | 12 #include "media/cast/cast_environment.h" |
13 #include "media/cast/cast_receiver.h" | 13 #include "media/cast/cast_receiver.h" |
14 #include "media/cast/pacing/paced_sender.h" | 14 #include "media/cast/net/pacing/paced_sender.h" |
15 #include "media/cast/video_receiver/video_receiver.h" | 15 #include "media/cast/video_receiver/video_receiver.h" |
16 | 16 |
17 namespace media { | 17 namespace media { |
18 namespace cast { | 18 namespace cast { |
19 | 19 |
20 // This calls is a pure owner class that group all required receive objects | 20 // This calls is a pure owner class that group all required receive objects |
21 // together such as pacer, packet receiver, frame receiver, audio and video | 21 // together such as pacer, packet receiver, frame receiver, audio and video |
22 // receivers. | 22 // receivers. |
23 class CastReceiverImpl : public CastReceiver { | 23 class CastReceiverImpl : public CastReceiver { |
24 public: | 24 public: |
(...skipping 16 matching lines...) Expand all Loading... |
41 AudioReceiver audio_receiver_; | 41 AudioReceiver audio_receiver_; |
42 VideoReceiver video_receiver_; | 42 VideoReceiver video_receiver_; |
43 scoped_refptr<FrameReceiver> frame_receiver_; | 43 scoped_refptr<FrameReceiver> frame_receiver_; |
44 scoped_refptr<PacketReceiver> packet_receiver_; | 44 scoped_refptr<PacketReceiver> packet_receiver_; |
45 }; | 45 }; |
46 | 46 |
47 } // namespace cast | 47 } // namespace cast |
48 } // namespace media | 48 } // namespace media |
49 | 49 |
50 #endif // MEDIA_CAST_CAST_RECEIVER_IMPL_ | 50 #endif // MEDIA_CAST_CAST_RECEIVER_IMPL_ |
OLD | NEW |