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

Side by Side Diff: chrome/renderer/media/cast_session_delegate.h

Issue 210303003: Cast: Remove LoggingStats in favor of event subscribers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile Created 6 years, 9 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
« no previous file with comments | « chrome/common/cast_messages.h ('k') | chrome/renderer/media/cast_session_delegate.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 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
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 StatsEventSubscriber;
35 36
36 namespace transport { 37 namespace transport {
37 class CastTransportSender; 38 class CastTransportSender;
38 } // namespace transport 39 } // namespace transport
39 } // namespace cast 40 } // namespace cast
40 } // namespace media 41 } // namespace media
41 42
42 // This class hosts CastSender and connects it to audio/video frame input 43 // This class hosts CastSender and connects it to audio/video frame input
43 // and network socket. 44 // and network socket.
44 // This class is created on the render thread and destroyed on the IO 45 // This class is created on the render thread and destroyed on the IO
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 scoped_refptr<media::cast::CastEnvironment> cast_environment_; 102 scoped_refptr<media::cast::CastEnvironment> cast_environment_;
102 scoped_ptr<media::cast::CastSender> cast_sender_; 103 scoped_ptr<media::cast::CastSender> cast_sender_;
103 scoped_ptr<media::cast::transport::CastTransportSender> cast_transport_; 104 scoped_ptr<media::cast::transport::CastTransportSender> cast_transport_;
104 105
105 AudioFrameInputAvailableCallback audio_frame_input_available_callback_; 106 AudioFrameInputAvailableCallback audio_frame_input_available_callback_;
106 VideoFrameInputAvailableCallback video_frame_input_available_callback_; 107 VideoFrameInputAvailableCallback video_frame_input_available_callback_;
107 108
108 scoped_ptr<media::cast::EncodingEventSubscriber> audio_event_subscriber_; 109 scoped_ptr<media::cast::EncodingEventSubscriber> audio_event_subscriber_;
109 scoped_ptr<media::cast::EncodingEventSubscriber> video_event_subscriber_; 110 scoped_ptr<media::cast::EncodingEventSubscriber> video_event_subscriber_;
110 111
112 scoped_ptr<media::cast::StatsEventSubscriber> audio_stats_subscriber_;
113 scoped_ptr<media::cast::StatsEventSubscriber> video_stats_subscriber_;
114
111 // Proxy to the IO message loop. 115 // Proxy to the IO message loop.
112 scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; 116 scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_;
113 base::WeakPtrFactory<CastSessionDelegate> weak_factory_; 117 base::WeakPtrFactory<CastSessionDelegate> weak_factory_;
114 118
115 DISALLOW_COPY_AND_ASSIGN(CastSessionDelegate); 119 DISALLOW_COPY_AND_ASSIGN(CastSessionDelegate);
116 }; 120 };
117 121
118 #endif // CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_ 122 #endif // CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/common/cast_messages.h ('k') | chrome/renderer/media/cast_session_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698