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

Unified Diff: media/remoting/proto/remoting_rpc_message.proto

Issue 2568463003: media: Rename MediaKeys to ContentDecryptionModule (Closed)
Patch Set: comments addressed 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 | « media/mojo/services/mojo_renderer_service.cc ('k') | media/remoting/remote_renderer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/remoting/proto/remoting_rpc_message.proto
diff --git a/media/remoting/proto/remoting_rpc_message.proto b/media/remoting/proto/remoting_rpc_message.proto
index 0cc09bbbd4649d7d12925550feedbfb77f81d642..cd1cd9737520a3fdf981c380158faf2542b13e4d 100644
--- a/media/remoting/proto/remoting_rpc_message.proto
+++ b/media/remoting/proto/remoting_rpc_message.proto
@@ -260,7 +260,7 @@ message CdmKeyInformation {
}
// Should align with ::media::CdmPromise::Exception
-enum MediaKeysException {
+enum CdmException {
NOT_SUPPORTED_ERROR = 0;
INVALID_STATE_ERROR = 1;
INVALID_ACCESS_ERROR = 2;
@@ -270,15 +270,15 @@ enum MediaKeysException {
OUTPUT_ERROR = 6;
}
-// Should align with ::media::MediaKeys::MessageType
-enum MediaKeysMessageType {
+// Should align with ::media::ContentDecryptionModule::MessageType
+enum CdmMessageType {
LICENSE_REQUEST = 0;
LICENSE_RENEWAL = 1;
LICENSE_RELEASE = 2;
}
-// Should align with ::media::MediaKeys::SessionType
-enum MediaKeysSessionType {
+// Should align with ::media::ContentDecryptionModule::SessionType
+enum CdmSessionType {
TEMPORARY_SESSION = 0;
PERSISTENT_LICENSE_SESSION = 1;
PERSISTENT_RELEASE_MESSAGE_SESSION = 2;
@@ -364,14 +364,14 @@ message CdmCreateSessionAndGenerateRequest {
KEYIDS = 3;
};
- optional MediaKeysSessionType session_type = 1;
+ optional CdmSessionType session_type = 1;
optional EmeInitDataType init_data_type = 2;
optional int32 callback_handle = 3;
optional bytes init_data = 4;
}
message CdmLoadSession {
- optional MediaKeysSessionType session_type = 1;
+ optional CdmSessionType session_type = 1;
optional string session_id = 2;
optional int32 callback_handle = 3;
}
@@ -399,14 +399,14 @@ message CdmPromise {
optional string session_id = 3;
optional bool success = 4;
- optional MediaKeysException exception = 5;
+ optional CdmException exception = 5;
optional uint32 system_code = 6;
optional string error_message = 7;
}
message CdmClientOnSessionMessage {
optional string session_id = 1;
- optional MediaKeysMessageType message_type = 2;
+ optional CdmMessageType message_type = 2;
optional bytes message = 3;
}
« no previous file with comments | « media/mojo/services/mojo_renderer_service.cc ('k') | media/remoting/remote_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698