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

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: Addressed most of the comments 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
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..826d554b0d7eaa6a463fb639e7444c1c0cd8b894 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 {
+class 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;

Powered by Google App Engine
This is Rietveld 408576698