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

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

Issue 2330273002: media: Use associated interface for mojo AudioDecoderClient (Closed)
Patch Set: Created 4 years, 3 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/interfaces/audio_decoder.mojom ('k') | media/mojo/services/mojo_audio_decoder_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/mojo_audio_decoder_service.h
diff --git a/media/mojo/services/mojo_audio_decoder_service.h b/media/mojo/services/mojo_audio_decoder_service.h
index d1462802e75defd5be1595b2079c842d7c0720e1..cd180cd90b1f999b0fcb704c61f375815dd8d68b 100644
--- a/media/mojo/services/mojo_audio_decoder_service.h
+++ b/media/mojo/services/mojo_audio_decoder_service.h
@@ -31,7 +31,7 @@ class MojoAudioDecoderService : public mojom::AudioDecoder {
~MojoAudioDecoderService() final;
// mojom::AudioDecoder implementation
- void Initialize(mojom::AudioDecoderClientPtr client,
+ void Initialize(mojom::AudioDecoderClientAssociatedPtrInfo client,
mojom::AudioDecoderConfigPtr config,
int32_t cdm_id,
const InitializeCallback& callback) final;
@@ -72,7 +72,7 @@ class MojoAudioDecoderService : public mojom::AudioDecoder {
std::unique_ptr<media::AudioDecoder> decoder_;
// The destination for the decoded buffers.
- mojom::AudioDecoderClientPtr client_;
+ mojom::AudioDecoderClientAssociatedPtr client_;
// Hold a reference to the CDM to keep it alive for the lifetime of the
// |decoder_|. The |cdm_| owns the CdmContext which is passed to |decoder_|.
« no previous file with comments | « media/mojo/interfaces/audio_decoder.mojom ('k') | media/mojo/services/mojo_audio_decoder_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698