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

Unified Diff: content/renderer/media/android/webmediaplayer_android.h

Issue 1185453004: Implemented setting memory limits through WebMediaPlayer interface Base URL: https://chromium.googlesource.com/chromium/src.git@set-mem-limits-on-demux-stream
Patch Set: int -> size_t Created 5 years, 6 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: content/renderer/media/android/webmediaplayer_android.h
diff --git a/content/renderer/media/android/webmediaplayer_android.h b/content/renderer/media/android/webmediaplayer_android.h
index a643e48b32a5c4f2bbe52fe26a1cb201e8d94b0b..005ae28a4d1a7d1bb3d1cf05458f598d4cb01e63 100644
--- a/content/renderer/media/android/webmediaplayer_android.h
+++ b/content/renderer/media/android/webmediaplayer_android.h
@@ -181,6 +181,11 @@ class WebMediaPlayerAndroid : public blink::WebMediaPlayer,
virtual unsigned audioDecodedByteCount() const;
virtual unsigned videoDecodedByteCount() const;
+ virtual size_t getAudioBufferSize() const;
+ virtual void setAudioBufferSize(size_t size);
+ virtual size_t getVideoBufferSize() const;
+ virtual void setVideoBufferSize(size_t size);
+
// cc::VideoFrameProvider implementation. These methods are running on the
// compositor thread.
void SetVideoFrameProviderClient(

Powered by Google App Engine
This is Rietveld 408576698