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

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

Issue 263333004: Add timelineOffset() support to WebMediaPlayerAndroid. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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/android/media_source_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/android/media_source_delegate.h
diff --git a/content/renderer/media/android/media_source_delegate.h b/content/renderer/media/android/media_source_delegate.h
index d7e6ddc15950576b5d65b08c756a920054f934e2..4ac8ed8ade2fdaaed8277f7d3519323b39039f6b 100644
--- a/content/renderer/media/android/media_source_delegate.h
+++ b/content/renderer/media/android/media_source_delegate.h
@@ -106,6 +106,9 @@ class MediaSourceDelegate : public media::DemuxerHost {
// Called on the main thread to check whether the video stream is encrypted.
bool IsVideoEncrypted();
+ // Gets the ChunkDemuxer timeline offset.
+ base::Time GetTimelineOffset() const;
+
private:
// This is private to enforce use of the Destroyer.
virtual ~MediaSourceDelegate();
« no previous file with comments | « no previous file | content/renderer/media/android/media_source_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698