| Index: ppapi/proxy/ppapi_messages.h
|
| diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h
|
| index 275e39ceca150e9b2ac9b0e1caed7dcdaca23c98..c8995275d4b664ec4ac2448dbf3e120125fdd9c1 100644
|
| --- a/ppapi/proxy/ppapi_messages.h
|
| +++ b/ppapi/proxy/ppapi_messages.h
|
| @@ -89,10 +89,11 @@ IPC_ENUM_TRAITS_MAX_VALUE(ppapi::TCPSocketVersion,
|
| ppapi::TCP_SOCKET_VERSION_1_1_OR_ABOVE)
|
| IPC_ENUM_TRAITS(PP_AudioSampleRate)
|
| IPC_ENUM_TRAITS_MAX_VALUE(PP_BlendMode, PP_BLENDMODE_LAST)
|
| +IPC_ENUM_TRAITS_MAX_VALUE(PP_CdmExceptionCode, PP_CDMEXCEPTIONCODE_OUTPUTERROR)
|
| +IPC_ENUM_TRAITS_MAX_VALUE(PP_CdmKeyStatus, PP_CDMKEYSTATUS_OUTPUTNOTALLOWED)
|
| +IPC_ENUM_TRAITS_MAX_VALUE(PP_CdmMessageType, PP_CDMMESSAGETYPE_LICENSE_RELEASE)
|
| IPC_ENUM_TRAITS(PP_DeviceType_Dev)
|
| IPC_ENUM_TRAITS(PP_DecryptorStreamType)
|
| -IPC_ENUM_TRAITS(PP_SessionType)
|
| -IPC_ENUM_TRAITS(PP_CdmExceptionCode)
|
| IPC_ENUM_TRAITS_MAX_VALUE(PP_FileSystemType, PP_FILESYSTEMTYPE_ISOLATED)
|
| IPC_ENUM_TRAITS_MAX_VALUE(PP_FileType, PP_FILETYPE_OTHER)
|
| IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission)
|
| @@ -114,6 +115,7 @@ IPC_ENUM_TRAITS_MAX_VALUE(PP_PrintDuplexMode_Dev, PP_PRINTDUPLEXMODE_SHORT_EDGE)
|
| IPC_ENUM_TRAITS(PP_PrivateFontCharset)
|
| IPC_ENUM_TRAITS(PP_ResourceImage)
|
| IPC_ENUM_TRAITS(PP_ResourceString)
|
| +IPC_ENUM_TRAITS_MAX_VALUE(PP_SessionType, PP_SESSIONTYPE_PERSISTENT_RELEASE)
|
| IPC_ENUM_TRAITS_MAX_VALUE(PP_TalkEvent, PP_TALKEVENT_NUM_EVENTS - 1)
|
| IPC_ENUM_TRAITS_MAX_VALUE(PP_TalkPermission,
|
| PP_TALKPERMISSION_NUM_PERMISSIONS - 1)
|
| @@ -781,15 +783,17 @@ IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_SetServerCertificate,
|
| PP_Instance /* instance */,
|
| uint32_t /* promise_id */,
|
| std::vector<uint8_t> /* certificate */)
|
| -IPC_MESSAGE_ROUTED5(PpapiMsg_PPPContentDecryptor_CreateSession,
|
| - PP_Instance /* instance */,
|
| - uint32_t /* promise_id */,
|
| - ppapi::proxy::SerializedVar /* init_data_type, String */,
|
| - ppapi::proxy::SerializedVar /* init_data, ArrayBuffer */,
|
| - PP_SessionType /* session_type */)
|
| -IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_LoadSession,
|
| +IPC_MESSAGE_ROUTED5(
|
| + PpapiMsg_PPPContentDecryptor_CreateSessionAndGenerateRequest,
|
| + PP_Instance /* instance */,
|
| + uint32_t /* promise_id */,
|
| + PP_SessionType /* session_type */,
|
| + ppapi::proxy::SerializedVar /* init_data_type, String */,
|
| + ppapi::proxy::SerializedVar /* init_data, ArrayBuffer */)
|
| +IPC_MESSAGE_ROUTED4(PpapiMsg_PPPContentDecryptor_LoadSession,
|
| PP_Instance /* instance */,
|
| uint32_t /* promise_id */,
|
| + PP_SessionType /* session_type */,
|
| ppapi::proxy::SerializedVar /* web_session_id, String */)
|
| IPC_MESSAGE_ROUTED4(PpapiMsg_PPPContentDecryptor_UpdateSession,
|
| PP_Instance /* instance */,
|
| @@ -804,10 +808,6 @@ IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_RemoveSession,
|
| PP_Instance /* instance */,
|
| uint32_t /* promise_id */,
|
| std::string /* web_session_id */)
|
| -IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_GetUsableKeyIds,
|
| - PP_Instance /* instance */,
|
| - uint32_t /* promise_id */,
|
| - std::string /* web_session_id */)
|
| IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_Decrypt,
|
| PP_Instance /* instance */,
|
| ppapi::proxy::PPPDecryptor_Buffer /* buffer */,
|
| @@ -1128,10 +1128,6 @@ IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_PromiseResolvedWithSession,
|
| PP_Instance /* instance */,
|
| uint32_t /* promise_id */,
|
| ppapi::proxy::SerializedVar /* web_session_id, String */)
|
| -IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_PromiseResolvedWithKeyIds,
|
| - PP_Instance /* instance */,
|
| - uint32_t /* promise_id */,
|
| - std::vector<std::vector<uint8_t> > /* key_ids */)
|
| IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBInstance_PromiseRejected,
|
| PP_Instance /* instance */,
|
| uint32_t /* promise_id */,
|
| @@ -1141,19 +1137,17 @@ IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBInstance_PromiseRejected,
|
| IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_SessionMessage,
|
| PP_Instance /* instance */,
|
| ppapi::proxy::SerializedVar /* web_session_id, String */,
|
| - ppapi::proxy::SerializedVar /* message, ArrayBuffer */,
|
| - ppapi::proxy::SerializedVar /* destination_url, String */)
|
| -IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_SessionKeysChange,
|
| + PP_CdmMessageType /* message_type */,
|
| + ppapi::proxy::SerializedVar /* message, ArrayBuffer */)
|
| +IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_SessionKeysChange,
|
| PP_Instance /* instance */,
|
| std::string /* web_session_id */,
|
| - PP_Bool /* has_additional_usable_key */)
|
| + PP_Bool /* has_additional_usable_key */,
|
| + std::vector<PP_KeyInformation> /* key_information */)
|
| IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_SessionExpirationChange,
|
| PP_Instance /* instance */,
|
| std::string /* web_session_id */,
|
| PP_Time /* new_expiry_time */)
|
| -IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_SessionReady,
|
| - PP_Instance /* instance */,
|
| - ppapi::proxy::SerializedVar /* web_session_id, String */)
|
| IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_SessionClosed,
|
| PP_Instance /* instance */,
|
| ppapi::proxy::SerializedVar /* web_session_id, String */)
|
|
|