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

Unified Diff: media/blink/websourcebuffer_impl.cc

Issue 1309563003: Add a dummy WebSourceBufferImpl::evictCodedFrames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed typo Created 5 years, 4 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/blink/websourcebuffer_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/websourcebuffer_impl.cc
diff --git a/media/blink/websourcebuffer_impl.cc b/media/blink/websourcebuffer_impl.cc
index 0e387785ae1db4d0bb3a64b54d7dac0d3b1100fc..e23c24102eb8e4e114d96d0597b23b7b99316216 100644
--- a/media/blink/websourcebuffer_impl.cc
+++ b/media/blink/websourcebuffer_impl.cc
@@ -81,6 +81,14 @@ blink::WebTimeRanges WebSourceBufferImpl::buffered() {
return result;
}
+bool WebSourceBufferImpl::evictCodedFrames(double currentPlaybackTime,
+ size_t newDataSize) {
+ // TODO(servolk): A dummy method to facilitate landing MSE GC changes.
+ // Will be replaced with actual implementation in CL
+ // https://codereview.chromium.org/1008463002/
+ return true;
+}
+
void WebSourceBufferImpl::append(
const unsigned char* data,
unsigned length,
« no previous file with comments | « media/blink/websourcebuffer_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698