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

Unified Diff: media/base/android/media_decoder_job.h

Issue 1367403003: Added UMA metrics for MediaSourcePlayer and MediaCodecPlayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mtplayer-drm
Patch Set: Attempt to fix clang compilation Created 5 years, 3 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/base/android/media_codec_video_decoder.cc ('k') | media/base/android/media_decoder_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/media_decoder_job.h
diff --git a/media/base/android/media_decoder_job.h b/media/base/android/media_decoder_job.h
index 2503a423f877d4cbf90408047e5814898e15246c..df7f454c756dfbdff39b24ab41f42901c5ef0eee 100644
--- a/media/base/android/media_decoder_job.h
+++ b/media/base/android/media_decoder_job.h
@@ -18,6 +18,7 @@ class SingleThreadTaskRunner;
namespace media {
+struct FrameStatistics;
class MediaDrmBridge;
// Class for managing all the decoding tasks. Each decoding task will be posted
@@ -117,7 +118,8 @@ class MediaDecoderJob {
MediaDecoderJob(
const scoped_refptr<base::SingleThreadTaskRunner>& decoder_task_runner,
const base::Closure& request_data_cb,
- const base::Closure& config_changed_cb);
+ const base::Closure& config_changed_cb,
+ FrameStatistics* frame_statistics);
// Release the output buffer at index |output_buffer_index| and render it if
// |render_output| is true. Upon completion, |callback| will be called.
@@ -154,6 +156,8 @@ class MediaDecoderJob {
scoped_ptr<MediaCodecBridge> media_codec_bridge_;
+ FrameStatistics* frame_statistics_;
+
private:
friend class MediaSourcePlayerTest;
« no previous file with comments | « media/base/android/media_codec_video_decoder.cc ('k') | media/base/android/media_decoder_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698