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

Unified Diff: components/html_viewer/media_factory.h

Issue 1230313010: media: Add ServiceFactory mojo interface and implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase only Created 5 years, 5 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 | « no previous file | components/html_viewer/media_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/media_factory.h
diff --git a/components/html_viewer/media_factory.h b/components/html_viewer/media_factory.h
index 83eced49e66d6f195fb9d7b64abae45b3ce4e202..70d1f7d6388c641a934332b68989036171a2309c 100644
--- a/components/html_viewer/media_factory.h
+++ b/components/html_viewer/media_factory.h
@@ -11,6 +11,7 @@
#include "base/threading/thread.h"
#include "media/audio/fake_audio_log_factory.h"
#include "media/base/audio_hardware_config.h"
+#include "media/mojo/interfaces/service_factory.mojom.h"
#include "mojo/application/public/interfaces/service_provider.mojom.h"
namespace base {
@@ -63,7 +64,7 @@ class MediaFactory {
blink::WebEncryptedMediaClient* GetEncryptedMediaClient();
private:
- mojo::ServiceProvider* GetMediaServiceProvider();
+ media::interfaces::ServiceFactory* GetMediaServiceFactory();
media::MediaPermission* GetMediaPermission();
media::CdmFactory* GetCdmFactory();
@@ -83,7 +84,7 @@ class MediaFactory {
mojo::Shell* shell_;
// Lazily initialized objects.
- mojo::ServiceProviderPtr media_service_provider_;
+ media::interfaces::ServiceFactoryPtr media_service_factory_;
scoped_ptr<media::WebEncryptedMediaClientImpl> web_encrypted_media_client_;
scoped_ptr<media::MediaPermission> media_permission_;
scoped_ptr<media::CdmFactory> cdm_factory_;
« no previous file with comments | « no previous file | components/html_viewer/media_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698