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

Unified Diff: media/mojo/services/mojo_cdm_service.cc

Issue 1541943002: Delete media::Interfaces::ServiceFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add service bundle Created 5 years 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/mojo_cdm_service.h ('k') | media/mojo/services/mojo_media_application.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/mojo_cdm_service.cc
diff --git a/media/mojo/services/mojo_cdm_service.cc b/media/mojo/services/mojo_cdm_service.cc
index a7d5fc55d77c9c09e1a5bded89a657ef1810a600..64a4031bf1582c8f3861d240963838731d9fe8ad 100644
--- a/media/mojo/services/mojo_cdm_service.cc
+++ b/media/mojo/services/mojo_cdm_service.cc
@@ -76,14 +76,9 @@ scoped_refptr<MediaKeys> MojoCdmService::GetCdm(int cdm_id) {
return g_cdm_manager.Get().GetCdm(cdm_id);
}
-MojoCdmService::MojoCdmService(
- base::WeakPtr<MojoCdmServiceContext> context,
- mojo::ServiceProvider* service_provider,
- CdmFactory* cdm_factory,
- mojo::InterfaceRequest<interfaces::ContentDecryptionModule> request)
- : binding_(this, request.Pass()),
- context_(context),
- service_provider_(service_provider),
+MojoCdmService::MojoCdmService(base::WeakPtr<MojoCdmServiceContext> context,
+ CdmFactory* cdm_factory)
+ : context_(context),
cdm_factory_(cdm_factory),
cdm_id_(CdmContext::kInvalidCdmId),
weak_factory_(this) {
« no previous file with comments | « media/mojo/services/mojo_cdm_service.h ('k') | media/mojo/services/mojo_media_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698