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

Unified Diff: content/renderer/media/websourcebuffer_impl.h

Issue 178153004: Enable round-tripping and updating of WebSourceBufferImpl timestamp offset (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Allow NULL for WSBI::append()'s |new_timestamp_offset| parameter Created 6 years, 10 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/websourcebuffer_impl.h
diff --git a/content/renderer/media/websourcebuffer_impl.h b/content/renderer/media/websourcebuffer_impl.h
index f863d22b8aadd530e92276fc9103d468cc9db8ab..3cbbb2c7a359ba815f25a97e0e37e7f7f25f36d1 100644
--- a/content/renderer/media/websourcebuffer_impl.h
+++ b/content/renderer/media/websourcebuffer_impl.h
@@ -25,7 +25,13 @@ class WebSourceBufferImpl : public blink::WebSourceBuffer {
// blink::WebSourceBuffer implementation.
virtual bool setMode(AppendMode mode);
virtual blink::WebTimeRanges buffered();
+ // TODO(wolenetz): Remove the void append(...) implementation once the bool
+ // append(...) is used by Blink. See http://crbug.com/249422.
virtual void append(const unsigned char* data, unsigned length);
+ virtual bool append(
+ const unsigned char* data,
+ unsigned length,
+ double* new_timestamp_offset);
virtual void abort();
virtual void remove(double start, double end);
virtual bool setTimestampOffset(double offset);
« no previous file with comments | « no previous file | content/renderer/media/websourcebuffer_impl.cc » ('j') | content/renderer/media/websourcebuffer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698