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

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

Issue 2070753002: media: Add unittest for MojoRenderer{Impl|Service} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
Index: media/mojo/services/mojo_cdm_service.h
diff --git a/media/mojo/services/mojo_cdm_service.h b/media/mojo/services/mojo_cdm_service.h
index 04a6f4d93a4cce9fc70f3f8d93048520f941c992..b15c0260e03934b1984e4a036b1f12d42b9de822 100644
--- a/media/mojo/services/mojo_cdm_service.h
+++ b/media/mojo/services/mojo_cdm_service.h
@@ -27,7 +27,7 @@ class CdmFactory;
// A mojom::ContentDecryptionModule implementation backed by a
// media::MediaKeys.
-class MojoCdmService : public mojom::ContentDecryptionModule {
+class MEDIA_MOJO_EXPORT MojoCdmService : public mojom::ContentDecryptionModule {
public:
// Get the CDM associated with |cdm_id|, which is unique per process.
// Can be called on any thread. The returned CDM is not guaranteed to be
@@ -37,7 +37,7 @@ class MojoCdmService : public mojom::ContentDecryptionModule {
// render frame the caller is associated with. In the future, we should move
// all out-of-process media players into the MojoMediaApplicaiton so that we
// can use MojoCdmServiceContext (per render frame) to get the CDM.
- static scoped_refptr<MediaKeys> MEDIA_MOJO_EXPORT LegacyGetCdm(int cdm_id);
+ static scoped_refptr<MediaKeys> LegacyGetCdm(int cdm_id);
// Constructs a MojoCdmService and strongly binds it to the |request|.
MojoCdmService(

Powered by Google App Engine
This is Rietveld 408576698