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

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

Issue 1968833002: media: Make media mojo services a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gn style Created 4 years, 7 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 a9859a6ebb20109b78a39c6fdcefb1692ccd9898..b1206b0ea314c8900d080322992be21ee36f86f9 100644
--- a/media/mojo/services/mojo_cdm_service.h
+++ b/media/mojo/services/mojo_cdm_service.h
@@ -15,6 +15,7 @@
#include "base/memory/weak_ptr.h"
#include "media/base/media_keys.h"
#include "media/mojo/interfaces/content_decryption_module.mojom.h"
+#include "media/mojo/services/media_mojo_export.h"
#include "media/mojo/services/mojo_cdm_promise.h"
#include "media/mojo/services/mojo_cdm_service_context.h"
#include "media/mojo/services/mojo_decryptor_service.h"
@@ -36,7 +37,7 @@ class MojoCdmService : public interfaces::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> LegacyGetCdm(int cdm_id);
+ static scoped_refptr<MediaKeys> MEDIA_MOJO_EXPORT LegacyGetCdm(int cdm_id);
ddorwin 2016/05/11 23:02:28 Why does only this static method need to be expose
xhwang 2016/05/16 05:41:21 See the comment above for some context. This is ca
// Constructs a MojoCdmService and strongly binds it to the |request|.
MojoCdmService(

Powered by Google App Engine
This is Rietveld 408576698