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

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: Rebase and rework to plumb double* timestamp_offset param into SourceState. 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
« no previous file with comments | « no previous file | content/renderer/media/websourcebuffer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..25620ee51d968138db77955fb96b7b85da871a77 100644
--- a/content/renderer/media/websourcebuffer_impl.h
+++ b/content/renderer/media/websourcebuffer_impl.h
@@ -26,6 +26,12 @@ class WebSourceBufferImpl : public blink::WebSourceBuffer {
virtual bool setMode(AppendMode mode);
virtual blink::WebTimeRanges buffered();
virtual void append(const unsigned char* data, unsigned length);
+ // TODO(wolenetz): Remove the append(), above, and its implementation once the
+ // following append() signature is used by Blink. See http://crbug.com/249422.
+ virtual void append(
+ const unsigned char* data,
+ unsigned length,
+ double* 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698