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

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

Issue 236123003: Cast: Provide more meaningful stats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile Created 6 years, 7 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 | « no previous file | 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 12 matching lines...) Expand all
23 class BinaryValue; 23 class BinaryValue;
24 class DictionaryValue; 24 class DictionaryValue;
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;
34 class FrameInput; 33 class FrameInput;
35 class StatsEventSubscriber; 34 class RawEventSubscriberBundle;
36 35
37 namespace transport { 36 namespace transport {
38 class CastTransportSender; 37 class CastTransportSender;
39 } // namespace transport 38 } // namespace transport
40 } // namespace cast 39 } // namespace cast
41 } // namespace media 40 } // namespace media
42 41
43 // This class hosts CastSender and connects it to audio/video frame input 42 // This class hosts CastSender and connects it to audio/video frame input
44 // and network socket. 43 // and network socket.
45 // This class is created on the render thread and destroyed on the IO 44 // This class is created on the render thread and destroyed on the IO
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 void LogRawEvents(const std::vector<media::cast::PacketEvent>& packet_events); 98 void LogRawEvents(const std::vector<media::cast::PacketEvent>& packet_events);
100 99
101 base::ThreadChecker thread_checker_; 100 base::ThreadChecker thread_checker_;
102 scoped_refptr<media::cast::CastEnvironment> cast_environment_; 101 scoped_refptr<media::cast::CastEnvironment> cast_environment_;
103 scoped_ptr<media::cast::CastSender> cast_sender_; 102 scoped_ptr<media::cast::CastSender> cast_sender_;
104 scoped_ptr<media::cast::transport::CastTransportSender> cast_transport_; 103 scoped_ptr<media::cast::transport::CastTransportSender> cast_transport_;
105 104
106 AudioFrameInputAvailableCallback audio_frame_input_available_callback_; 105 AudioFrameInputAvailableCallback audio_frame_input_available_callback_;
107 VideoFrameInputAvailableCallback video_frame_input_available_callback_; 106 VideoFrameInputAvailableCallback video_frame_input_available_callback_;
108 107
109 scoped_ptr<media::cast::EncodingEventSubscriber> audio_event_subscriber_; 108 scoped_ptr<media::cast::RawEventSubscriberBundle> event_subscribers_;
110 scoped_ptr<media::cast::EncodingEventSubscriber> video_event_subscriber_;
111
112 scoped_ptr<media::cast::StatsEventSubscriber> audio_stats_subscriber_;
113 scoped_ptr<media::cast::StatsEventSubscriber> video_stats_subscriber_;
114 109
115 // Proxy to the IO message loop. 110 // Proxy to the IO message loop.
116 scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; 111 scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_;
117 base::WeakPtrFactory<CastSessionDelegate> weak_factory_; 112 base::WeakPtrFactory<CastSessionDelegate> weak_factory_;
118 113
119 DISALLOW_COPY_AND_ASSIGN(CastSessionDelegate); 114 DISALLOW_COPY_AND_ASSIGN(CastSessionDelegate);
120 }; 115 };
121 116
122 #endif // CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_ 117 #endif // CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/media/cast_session_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698