Index: media/cast/logging/logging_impl.h |
diff --git a/media/cast/logging/logging_impl.h b/media/cast/logging/logging_impl.h |
index bf518699c230dd37ae722c0c8a16fcd8fa2431a4..27f177c5eb9a93bb4beab68e0010341d9e32a53b 100644 |
--- a/media/cast/logging/logging_impl.h |
+++ b/media/cast/logging/logging_impl.h |
@@ -62,18 +62,20 @@ class LoggingImpl : public base::NonThreadSafe { |
int value); |
// Get raw data. |
- FrameRawMap GetFrameRawData(); |
- PacketRawMap GetPacketRawData(); |
- GenericRawMap GetGenericRawData(); |
- AudioRtcpRawMap GetAudioRtcpRawData(); |
- VideoRtcpRawMap GetVideoRtcpRawData(); |
- |
- // Get stats only (computed when called). Triggers UMA stats when enabled. |
- const FrameStatsMap* GetFrameStatsData(const base::TimeTicks& now); |
- const PacketStatsMap* GetPacketStatsData(const base::TimeTicks& now); |
- const GenericStatsMap* GetGenericStatsData(); |
- |
- // Reset raw logging data. |
+ FrameRawMap GetFrameRawData() const; |
+ PacketRawMap GetPacketRawData() const; |
+ GenericRawMap GetGenericRawData() const; |
+ |
+ // Get the RTCP data and reset the data. |
+ AudioRtcpRawMap GetAndResetAudioRtcpRawData(); |
+ VideoRtcpRawMap GetAndResetVideoRtcpRawData(); |
+ |
+ // Get stats only. |
+ FrameStatsMap GetFrameStatsData() const; |
+ PacketStatsMap GetPacketStatsData() const; |
+ GenericStatsMap GetGenericStatsData() const; |
+ |
+ // Reset raw logging data (this does not reset the RTCP raw data). |
void ResetRaw(); |
// Reset stats logging data. |
void ResetStats(); |