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

Unified Diff: media/mojo/clients/mojo_cdm.h

Issue 2561263002: [eme] Reject CDM calls after connection error (Closed)
Patch Set: Created 4 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 | « no previous file | media/mojo/clients/mojo_cdm.cc » ('j') | media/mojo/clients/mojo_cdm.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/clients/mojo_cdm.h
diff --git a/media/mojo/clients/mojo_cdm.h b/media/mojo/clients/mojo_cdm.h
index 0971c627b508bde544f0da90b600fa08791532e0..ed81ce82bb1b8c01c15c139a5dc6bdb700d4c08e 100644
--- a/media/mojo/clients/mojo_cdm.h
+++ b/media/mojo/clients/mojo_cdm.h
@@ -28,6 +28,7 @@ class SingleThreadTaskRunner;
namespace media {
+class MojoCdmTest;
class MojoDecryptor;
// A MediaKeys that proxies to a mojom::ContentDecryptionModule. That
@@ -76,6 +77,8 @@ class MojoCdm : public MediaKeys,
int GetCdmId() const final;
private:
+ friend class MojoCdmTest;
xhwang 2016/12/09 06:13:30 This is not needed, see below.
jrummell 2016/12/13 20:57:34 Done.
+
MojoCdm(mojom::ContentDecryptionModulePtr remote_cdm,
const SessionMessageCB& session_message_cb,
const SessionClosedCB& session_closed_cb,
« no previous file with comments | « no previous file | media/mojo/clients/mojo_cdm.cc » ('j') | media/mojo/clients/mojo_cdm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698