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

Unified Diff: media/mojo/services/mojo_renderer_service.h

Issue 2230583002: Add MediaPlayerRenderer/MediaPlayerRendererClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added MEDIA_EXPORT. Created 4 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/mojo/services/media_mojo_unittest.cc ('k') | media/mojo/services/mojo_renderer_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/mojo_renderer_service.h
diff --git a/media/mojo/services/mojo_renderer_service.h b/media/mojo/services/mojo_renderer_service.h
index 57b3be0078b371b4d490954580d3b86f46635a17..51a3cd9da6a645f526c2f9996c01a6444d66b234 100644
--- a/media/mojo/services/mojo_renderer_service.h
+++ b/media/mojo/services/mojo_renderer_service.h
@@ -15,6 +15,7 @@
#include "base/memory/weak_ptr.h"
#include "base/timer/timer.h"
#include "media/base/buffering_state.h"
+#include "media/base/demuxer_stream_provider.h"
#include "media/base/pipeline_status.h"
#include "media/base/renderer_client.h"
#include "media/mojo/interfaces/renderer.mojom.h"
@@ -46,6 +47,7 @@ class MEDIA_MOJO_EXPORT MojoRendererService
void Initialize(mojom::RendererClientPtr client,
mojom::DemuxerStreamPtr audio,
mojom::DemuxerStreamPtr video,
+ const base::Optional<GURL>& url,
const InitializeCallback& callback) final;
void Flush(const FlushCallback& callback) final;
void StartPlayingFrom(int64_t time_delta_usec) final;
@@ -100,7 +102,7 @@ class MEDIA_MOJO_EXPORT MojoRendererService
State state_;
- std::unique_ptr<DemuxerStreamProviderShim> stream_provider_;
+ std::unique_ptr<DemuxerStreamProvider> stream_provider_;
base::RepeatingTimer time_update_timer_;
int64_t last_media_time_usec_;
« no previous file with comments | « media/mojo/services/media_mojo_unittest.cc ('k') | media/mojo/services/mojo_renderer_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698