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

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

Issue 1466633002: media: Add ProvisionFetcher mojo interface and implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix std::move use Created 5 years, 1 month 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/default_mojo_media_client.cc ('k') | media/mojo/services/mojo_media_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1cd41302b511b537f44d7158a53793bef88a8925..88acb3061d653e228d6f99cdbb96732f099187aa 100644
--- a/media/mojo/services/mojo_media_client.h
+++ b/media/mojo/services/mojo_media_client.h
@@ -17,6 +17,10 @@
#include "media/base/video_decoder.h"
#include "media/base/video_renderer_sink.h"
+namespace mojo {
+class ServiceProvider;
+}
+
namespace media {
// Interface class which clients will extend to override (at compile time) the
@@ -53,7 +57,8 @@ class PlatformMojoMediaClient {
virtual const AudioHardwareConfig* GetAudioHardwareConfig();
// Returns the CdmFactory to be used by MojoCdmService.
- virtual scoped_ptr<CdmFactory> CreateCdmFactory();
+ virtual scoped_ptr<CdmFactory> CreateCdmFactory(
+ mojo::ServiceProvider* service_provider);
};
class MojoMediaClient {
@@ -75,7 +80,8 @@ class MojoMediaClient {
scoped_ptr<VideoRendererSink> CreateVideoRendererSink(
const scoped_refptr<base::SingleThreadTaskRunner>& task_runner);
const AudioHardwareConfig* GetAudioHardwareConfig();
- scoped_ptr<CdmFactory> CreateCdmFactory();
+ scoped_ptr<CdmFactory> CreateCdmFactory(
+ mojo::ServiceProvider* service_provider);
private:
friend struct base::DefaultLazyInstanceTraits<MojoMediaClient>;
« no previous file with comments | « media/mojo/services/default_mojo_media_client.cc ('k') | media/mojo/services/mojo_media_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698