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

Unified Diff: content/renderer/media/webmediaplayer_ms.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/webmediaplayer_ms.h
diff --git a/content/renderer/media/webmediaplayer_ms.h b/content/renderer/media/webmediaplayer_ms.h
index c1d15aa8df8e4a32bb312bb83c9f4acdb34ba277..cc093f226710a32f521f47b7da63226993245ca9 100644
--- a/content/renderer/media/webmediaplayer_ms.h
+++ b/content/renderer/media/webmediaplayer_ms.h
@@ -114,6 +114,11 @@ class WebMediaPlayerMS
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);
+
// TODO(dshwang): remove |level|. crbug.com/443151
bool copyVideoTextureToPlatformTexture(
blink::WebGraphicsContext3D* web_graphics_context,

Powered by Google App Engine
This is Rietveld 408576698