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

Unified Diff: media/cast/logging/logging_impl.cc

Issue 184853003: Cast: Add GetStats() extensions API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: static cast to int 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cast/logging/logging_impl.h ('k') | media/cast/logging/logging_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/logging/logging_impl.cc
diff --git a/media/cast/logging/logging_impl.cc b/media/cast/logging/logging_impl.cc
index 75a239622ae432fbb06504620869146a2415e807..ec0099c6b931009949405bae3152e69f4f040977 100644
--- a/media/cast/logging/logging_impl.cc
+++ b/media/cast/logging/logging_impl.cc
@@ -149,14 +149,15 @@ void LoggingImpl::RemoveRawEventSubscriber(RawEventSubscriber* subscriber) {
raw_.RemoveSubscriber(subscriber);
}
-FrameStatsMap LoggingImpl::GetFrameStatsData() const {
+FrameStatsMap LoggingImpl::GetFrameStatsData(EventMediaType media_type) const {
DCHECK(main_thread_proxy_->RunsTasksOnCurrentThread());
- return stats_.GetFrameStatsData();
+ return stats_.GetFrameStatsData(media_type);
}
-PacketStatsMap LoggingImpl::GetPacketStatsData() const {
+PacketStatsMap LoggingImpl::GetPacketStatsData(
+ EventMediaType media_type) const {
DCHECK(main_thread_proxy_->RunsTasksOnCurrentThread());
- return stats_.GetPacketStatsData();
+ return stats_.GetPacketStatsData(media_type);
}
GenericStatsMap LoggingImpl::GetGenericStatsData() const {
« no previous file with comments | « media/cast/logging/logging_impl.h ('k') | media/cast/logging/logging_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698