Index: media/mojo/services/mojo_media_client.h |
diff --git a/media/mojo/services/mojo_media_client.h b/media/mojo/services/mojo_media_client.h |
index 9b69c10e69a03b5ebd0a59d7a4f170f21c975ae7..ab14c507e822ce3e9f65c944ab18fcf6d4d6f700 100644 |
--- a/media/mojo/services/mojo_media_client.h |
+++ b/media/mojo/services/mojo_media_client.h |
@@ -5,6 +5,7 @@ |
#ifndef MEDIA_MOJO_SERVICES_MOJO_MEDIA_CLIENT_H_ |
#define MEDIA_MOJO_SERVICES_MOJO_MEDIA_CLIENT_H_ |
+#include "media/base/audio_decoder.h" |
#include "media/base/audio_renderer_sink.h" |
#include "media/base/cdm_factory.h" |
#include "media/base/media_log.h" |
@@ -32,6 +33,9 @@ class MojoMediaClient { |
// Called exactly once before any other method. |
virtual void Initialize(); |
+ virtual scoped_ptr<AudioDecoder> CreateAudioDecoder( |
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner); |
+ |
// TODO(xhwang): Consider creating Renderer and CDM directly in the client |
// instead of creating factories. See http://crbug.com/586211 |