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

Unified Diff: chromecast/media/service/cast_mojo_media_client.h

Issue 2544523002: Pass Connector* into MojoMediaClient::Initialize(). (Closed)
Patch Set: Rebase Created 4 years 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 | chromecast/media/service/cast_mojo_media_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/service/cast_mojo_media_client.h
diff --git a/chromecast/media/service/cast_mojo_media_client.h b/chromecast/media/service/cast_mojo_media_client.h
index 476ac7383203eef6bfb19f30aca4e477402d8bcd..46d2693ba782ba82dd59310e705b86280e937f93 100644
--- a/chromecast/media/service/cast_mojo_media_client.h
+++ b/chromecast/media/service/cast_mojo_media_client.h
@@ -26,14 +26,16 @@ class CastMojoMediaClient : public ::media::MojoMediaClient {
~CastMojoMediaClient() override;
// MojoMediaClient overrides.
+ void Initialize(service_manager::Connector* connector) override;
scoped_refptr<::media::AudioRendererSink> CreateAudioRendererSink(
const std::string& audio_device_id) override;
std::unique_ptr<::media::RendererFactory> CreateRendererFactory(
const scoped_refptr<::media::MediaLog>& media_log) override;
std::unique_ptr<::media::CdmFactory> CreateCdmFactory(
- service_manager::mojom::InterfaceProvider* interface_provider) override;
+ service_manager::mojom::InterfaceProvider* host_interfaces) override;
private:
+ service_manager::Connector* connector_;
const CreateMediaPipelineBackendCB create_backend_cb_;
const CreateCdmFactoryCB create_cdm_factory_cb_;
VideoResolutionPolicy* video_resolution_policy_;
« no previous file with comments | « no previous file | chromecast/media/service/cast_mojo_media_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698