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

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

Issue 1372203002: Throttle media decoding after excessive Android media server crashes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: new infobar text per UI review Created 5 years, 2 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_player.cc ('k') | media/base/android/media_codec_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/media_codec_video_decoder.h
diff --git a/media/base/android/media_codec_video_decoder.h b/media/base/android/media_codec_video_decoder.h
index d247271c73036cb9182e5faef5655186a47939e4..072a61cd7391d0ebd5244595af962f2e6797b276 100644
--- a/media/base/android/media_codec_video_decoder.h
+++ b/media/base/android/media_codec_video_decoder.h
@@ -36,8 +36,7 @@ class MediaCodecVideoDecoder : public MediaCodecDecoder {
const base::Closure& waiting_for_decryption_key_cb,
const base::Closure& error_cb,
const SetTimeCallback& update_current_time_cb,
- const VideoSizeChangedCallback& video_size_changed_cb,
- const base::Closure& codec_created_cb);
+ const VideoSizeChangedCallback& video_size_changed_cb);
~MediaCodecVideoDecoder() override;
const char* class_name() const override;
@@ -107,9 +106,6 @@ class MediaCodecVideoDecoder : public MediaCodecDecoder {
// Informs the callee that video size is changed.
VideoSizeChangedCallback video_size_changed_cb_;
- // Informs the callee that the MediaCodec is created.
- base::Closure codec_created_cb_;
-
// Current video size to be sent with |video_size_changed_cb_|.
gfx::Size video_size_;
« no previous file with comments | « media/base/android/media_codec_player.cc ('k') | media/base/android/media_codec_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698