| 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 CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_ | 5 #ifndef CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_ |
| 6 #define CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_ | 6 #define CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 class MessageLoopProxy; | 25 class MessageLoopProxy; |
| 26 } // namespace base | 26 } // namespace base |
| 27 | 27 |
| 28 namespace media { | 28 namespace media { |
| 29 class VideoFrame; | 29 class VideoFrame; |
| 30 | 30 |
| 31 namespace cast { | 31 namespace cast { |
| 32 class CastEnvironment; | 32 class CastEnvironment; |
| 33 class EncodingEventSubscriber; | 33 class EncodingEventSubscriber; |
| 34 class FrameInput; | 34 class FrameInput; |
| 35 class ReceiverTimeOffsetEstimator; |
| 35 class StatsEventSubscriber; | 36 class StatsEventSubscriber; |
| 36 | 37 |
| 37 namespace transport { | 38 namespace transport { |
| 38 class CastTransportSender; | 39 class CastTransportSender; |
| 39 } // namespace transport | 40 } // namespace transport |
| 40 } // namespace cast | 41 } // namespace cast |
| 41 } // namespace media | 42 } // namespace media |
| 42 | 43 |
| 43 // This class hosts CastSender and connects it to audio/video frame input | 44 // This class hosts CastSender and connects it to audio/video frame input |
| 44 // and network socket. | 45 // and network socket. |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 scoped_refptr<media::cast::CastEnvironment> cast_environment_; | 103 scoped_refptr<media::cast::CastEnvironment> cast_environment_; |
| 103 scoped_ptr<media::cast::CastSender> cast_sender_; | 104 scoped_ptr<media::cast::CastSender> cast_sender_; |
| 104 scoped_ptr<media::cast::transport::CastTransportSender> cast_transport_; | 105 scoped_ptr<media::cast::transport::CastTransportSender> cast_transport_; |
| 105 | 106 |
| 106 AudioFrameInputAvailableCallback audio_frame_input_available_callback_; | 107 AudioFrameInputAvailableCallback audio_frame_input_available_callback_; |
| 107 VideoFrameInputAvailableCallback video_frame_input_available_callback_; | 108 VideoFrameInputAvailableCallback video_frame_input_available_callback_; |
| 108 | 109 |
| 109 scoped_ptr<media::cast::EncodingEventSubscriber> audio_event_subscriber_; | 110 scoped_ptr<media::cast::EncodingEventSubscriber> audio_event_subscriber_; |
| 110 scoped_ptr<media::cast::EncodingEventSubscriber> video_event_subscriber_; | 111 scoped_ptr<media::cast::EncodingEventSubscriber> video_event_subscriber_; |
| 111 | 112 |
| 113 scoped_ptr<media::cast::ReceiverTimeOffsetEstimator> |
| 114 receiver_offset_estimator_; |
| 112 scoped_ptr<media::cast::StatsEventSubscriber> audio_stats_subscriber_; | 115 scoped_ptr<media::cast::StatsEventSubscriber> audio_stats_subscriber_; |
| 113 scoped_ptr<media::cast::StatsEventSubscriber> video_stats_subscriber_; | 116 scoped_ptr<media::cast::StatsEventSubscriber> video_stats_subscriber_; |
| 114 | 117 |
| 115 // Proxy to the IO message loop. | 118 // Proxy to the IO message loop. |
| 116 scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; | 119 scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; |
| 117 base::WeakPtrFactory<CastSessionDelegate> weak_factory_; | 120 base::WeakPtrFactory<CastSessionDelegate> weak_factory_; |
| 118 | 121 |
| 119 DISALLOW_COPY_AND_ASSIGN(CastSessionDelegate); | 122 DISALLOW_COPY_AND_ASSIGN(CastSessionDelegate); |
| 120 }; | 123 }; |
| 121 | 124 |
| 122 #endif // CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_ | 125 #endif // CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_ |
| OLD | NEW |