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

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

Issue 1810763002: Connect Mojo AudioDecoder service to the Mojo service factory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@spitzer-audio-service-stub
Patch Set: Passed scoped_refptr by value instead of const ref Created 4 years, 9 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/android_mojo_media_client.cc ('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 10f13f3be7d255a21ec9aca7fc74019fb3ea8df1..bd5bc739e764c65615626713ea9389460a7db294 100644
--- a/media/mojo/services/mojo_audio_decoder_service.h
+++ b/media/mojo/services/mojo_audio_decoder_service.h
@@ -7,6 +7,7 @@
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
+#include "media/base/audio_decoder.h"
#include "media/mojo/interfaces/audio_decoder.mojom.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
@@ -15,7 +16,7 @@ namespace media {
class MojoAudioDecoderService : public interfaces::AudioDecoder {
public:
MojoAudioDecoderService(
- scoped_ptr<AudioDecoder> decoder,
+ scoped_ptr<media::AudioDecoder> decoder,
mojo::InterfaceRequest<interfaces::AudioDecoder> request);
~MojoAudioDecoderService() final;
@@ -37,7 +38,7 @@ class MojoAudioDecoderService : public interfaces::AudioDecoder {
mojo::StrongBinding<interfaces::AudioDecoder> binding_;
// The AudioDecoder that does actual decoding work.
- scoped_ptr<AudioDecoder> decoder_;
+ scoped_ptr<media::AudioDecoder> decoder_;
// The destination for the decoded buffers.
interfaces::AudioDecoderClientPtr client_;
« no previous file with comments | « media/mojo/services/android_mojo_media_client.cc ('k') | media/mojo/services/mojo_audio_decoder_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698