|
Cast: Remove LoggingStats in favor of event subscribers.
Removed LoggingStats class and replaced them with StatsEventSubscriber.
StatsEventSubscriber differs in that the type of event to listen to
(audio / video / other) is determined at construction. The API to get
the stats map changed as well - caller now passes in an empty map that
will get assigned with the data. These changes are in line with the
EncodingEventSubscriber. The logic to calculate stats remains the same
as LoggingStats, though this will probably change in the future. Stats
can be reset as well via Reset().
In addition since stats gathering now depends on collection of raw
events (which is enabled everywhere), the flag to enable stats
collection in CastLoggingConfig has been removed.
Removed CastLoggingConfig struct - logging is enabled always now.
There are no use cases where it should be disabled.
BUG= 353019
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260055
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+604 lines, -667 lines) |
Patch |
 |
M |
chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/cast_streaming/performance_test.cc
|
View
|
1
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media/cast_transport_host_filter.h
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media/cast_transport_host_filter.cc
|
View
|
1
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media/cast_transport_host_filter_unittest.cc
|
View
|
1
|
4 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/common/cast_messages.h
|
View
|
1
|
2 chunks |
+2 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/media/cast_session_delegate.h
|
View
|
1
2
3
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/media/cast_session_delegate.cc
|
View
|
1
2
3
|
5 chunks |
+59 lines, -35 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/media/cast_transport_sender_ipc.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/media/cast_transport_sender_ipc.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/audio_receiver/audio_decoder_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/audio_receiver/audio_receiver_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
media/cast/audio_sender/audio_encoder_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/audio_sender/audio_sender_unittest.cc
|
View
|
1
2
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
media/cast/cast.gyp
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
media/cast/cast_environment.h
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/cast_environment.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/cast/logging/encoding_event_subscriber_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/logging/logging.gyp
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/logging/logging_defines.h
|
View
|
1
|
1 chunk |
+0 lines, -16 lines |
0 comments
|
Download
|
 |
M |
media/cast/logging/logging_defines.cc
|
View
|
1
|
1 chunk |
+0 lines, -21 lines |
0 comments
|
Download
|
 |
M |
media/cast/logging/logging_impl.h
|
View
|
1
|
2 chunks |
+1 line, -13 lines |
0 comments
|
Download
|
 |
M |
media/cast/logging/logging_impl.cc
|
View
|
1
|
5 chunks |
+10 lines, -59 lines |
0 comments
|
Download
|
 |
M |
media/cast/logging/logging_impl_unittest.cc
|
View
|
1
|
15 chunks |
+17 lines, -87 lines |
0 comments
|
Download
|
 |
D |
media/cast/logging/logging_stats.h
|
View
|
|
1 chunk |
+0 lines, -84 lines |
0 comments
|
Download
|
 |
D |
media/cast/logging/logging_stats.cc
|
View
|
|
1 chunk |
+0 lines, -232 lines |
0 comments
|
Download
|
 |
M |
media/cast/logging/simple_event_subscriber_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
A |
media/cast/logging/stats_event_subscriber.h
|
View
|
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
 |
A |
media/cast/logging/stats_event_subscriber.cc
|
View
|
|
1 chunk |
+139 lines, -0 lines |
0 comments
|
Download
|
 |
A |
media/cast/logging/stats_event_subscriber_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+173 lines, -0 lines |
0 comments
|
Download
|
 |
A |
media/cast/logging/stats_util.h
|
View
|
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
A |
media/cast/logging/stats_util.cc
|
View
|
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/rtcp/rtcp_receiver_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/rtcp/rtcp_sender_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/rtcp/rtcp_unittest.cc
|
View
|
1
2
|
3 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/encode_decode_test.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/end2end_unittest.cc
|
View
|
1
2
3
|
3 chunks |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/receiver.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/sender.cc
|
View
|
1
2
|
2 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/utility/standalone_cast_environment.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/cast/test/utility/standalone_cast_environment.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/cast_transport_sender.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/cast/transport/cast_transport_sender_impl.h
|
View
|
1
|
3 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/cast_transport_sender_impl.cc
|
View
|
1
|
5 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/cast_transport_sender_impl_unittest.cc
|
View
|
1
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/pacing/paced_sender_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/video_receiver/video_decoder_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/video_receiver/video_receiver_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/video_sender/external_video_encoder_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/video_sender/video_encoder_impl_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/video_sender/video_sender_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
Total messages: 25 (0 generated)
|