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

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

Issue 2752653002: Change MojoDecryptorService to take a Decryptor (Closed)
Patch Set: Created 3 years, 9 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 892001f792cb4d111ca474a7210a0e2d07470112..80cbb3d0acda6c989a7565dd6710118d289f6f46 100644
--- a/media/mojo/services/mojo_cdm_service.h
+++ b/media/mojo/services/mojo_cdm_service.h
@@ -106,6 +106,8 @@ class MEDIA_MOJO_EXPORT MojoCdmService
CdmFactory* cdm_factory_;
scoped_refptr<::media::ContentDecryptionModule> cdm_;
+ // MojoDecryptorService will be passed the Decryptor from |cdm_|, so
xhwang 2017/03/14 22:07:19 nit: "will be passed the Decryptor"?
jrummell 2017/03/14 22:49:40 Done.
+ // |decryptor_| must not outlive |cdm_|.
std::unique_ptr<MojoDecryptorService> decryptor_;
// Set to a valid CDM ID if the |cdm_| is successfully created.

Powered by Google App Engine
This is Rietveld 408576698