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

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

Issue 2752653002: Change MojoDecryptorService to take a Decryptor (Closed)
Patch Set: comments updated 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
« no previous file with comments | « media/mojo/clients/mojo_decryptor_unittest.cc ('k') | media/mojo/services/mojo_cdm_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..737acc46c4c95e6d07fbccbfac8f035c119ddcd4 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 is passed the Decryptor from |cdm_|, so
+ // |decryptor_| must not outlive |cdm_|.
std::unique_ptr<MojoDecryptorService> decryptor_;
// Set to a valid CDM ID if the |cdm_| is successfully created.
« no previous file with comments | « media/mojo/clients/mojo_decryptor_unittest.cc ('k') | media/mojo/services/mojo_cdm_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698