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

Unified Diff: media/blink/websourcebuffer_impl.h

Issue 2643743002: Mojify demuxers and allow running {Chunk/FFmpeg}Demuxer in a Utility Process (Closed)
Patch Set: Rebase and make sure to unbind mojom::DemuxerPtr on the bound thread during termination Created 3 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 | « media/blink/webmediasource_impl.cc ('k') | media/blink/websourcebuffer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/websourcebuffer_impl.h
diff --git a/media/blink/websourcebuffer_impl.h b/media/blink/websourcebuffer_impl.h
index d3378a8119b61e060bae819372abcda233d9bd01..0ed35fa2e11437d9534a7e8ba6a9c211f512c2bb 100644
--- a/media/blink/websourcebuffer_impl.h
+++ b/media/blink/websourcebuffer_impl.h
@@ -16,12 +16,12 @@
#include "third_party/WebKit/public/platform/WebSourceBuffer.h"
namespace media {
-class ChunkDemuxer;
+class SourceBuffer;
class MediaTracks;
class WebSourceBufferImpl : public blink::WebSourceBuffer {
public:
- WebSourceBufferImpl(const std::string& id, ChunkDemuxer* demuxer);
+ WebSourceBufferImpl(const std::string& id, SourceBuffer* source_buffer);
~WebSourceBufferImpl() override;
// blink::WebSourceBuffer implementation.
@@ -47,7 +47,7 @@ class WebSourceBufferImpl : public blink::WebSourceBuffer {
void InitSegmentReceived(std::unique_ptr<MediaTracks> tracks);
std::string id_;
- ChunkDemuxer* demuxer_; // Owned by WebMediaPlayerImpl.
+ SourceBuffer* source_buffer_; // Owned by WebMediaPlayerImpl.
blink::WebSourceBufferClient* client_;
« no previous file with comments | « media/blink/webmediasource_impl.cc ('k') | media/blink/websourcebuffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698