| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Multiply-included message header, no traditional include guard. | 5 // Multiply-included message header, no traditional include guard. |
| 6 #include <map> | 6 #include <map> |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 #undef IPC_MESSAGE_EXPORT | 77 #undef IPC_MESSAGE_EXPORT |
| 78 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT | 78 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT |
| 79 | 79 |
| 80 #define IPC_MESSAGE_START PpapiMsgStart | 80 #define IPC_MESSAGE_START PpapiMsgStart |
| 81 | 81 |
| 82 IPC_ENUM_TRAITS_MAX_VALUE(ppapi::TCPSocketVersion, | 82 IPC_ENUM_TRAITS_MAX_VALUE(ppapi::TCPSocketVersion, |
| 83 ppapi::TCP_SOCKET_VERSION_1_1_OR_ABOVE) | 83 ppapi::TCP_SOCKET_VERSION_1_1_OR_ABOVE) |
| 84 IPC_ENUM_TRAITS(PP_AudioSampleRate) | 84 IPC_ENUM_TRAITS(PP_AudioSampleRate) |
| 85 IPC_ENUM_TRAITS(PP_DeviceType_Dev) | 85 IPC_ENUM_TRAITS(PP_DeviceType_Dev) |
| 86 IPC_ENUM_TRAITS(PP_DecryptorStreamType) | 86 IPC_ENUM_TRAITS(PP_DecryptorStreamType) |
| 87 IPC_ENUM_TRAITS(PP_SessionType) |
| 88 IPC_ENUM_TRAITS(PP_ExceptionCode) |
| 87 IPC_ENUM_TRAITS_MAX_VALUE(PP_FileSystemType, PP_FILESYSTEMTYPE_ISOLATED) | 89 IPC_ENUM_TRAITS_MAX_VALUE(PP_FileSystemType, PP_FILESYSTEMTYPE_ISOLATED) |
| 88 IPC_ENUM_TRAITS_MAX_VALUE(PP_FileType, PP_FILETYPE_OTHER) | 90 IPC_ENUM_TRAITS_MAX_VALUE(PP_FileType, PP_FILETYPE_OTHER) |
| 89 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) | 91 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) |
| 90 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType) | 92 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType) |
| 91 IPC_ENUM_TRAITS(PP_FlashSetting) | 93 IPC_ENUM_TRAITS(PP_FlashSetting) |
| 92 IPC_ENUM_TRAITS(PP_ImageDataFormat) | 94 IPC_ENUM_TRAITS(PP_ImageDataFormat) |
| 93 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) | 95 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) |
| 94 IPC_ENUM_TRAITS(PP_InputEvent_Type) | 96 IPC_ENUM_TRAITS(PP_InputEvent_Type) |
| 95 IPC_ENUM_TRAITS_MAX_VALUE(PP_IsolatedFileSystemType_Private, | 97 IPC_ENUM_TRAITS_MAX_VALUE(PP_IsolatedFileSystemType_Private, |
| 96 PP_ISOLATEDFILESYSTEMTYPE_PRIVATE_PLUGINPRIVATE) | 98 PP_ISOLATEDFILESYSTEMTYPE_PRIVATE_PLUGINPRIVATE) |
| (...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 682 IPC_MESSAGE_ROUTED3( | 684 IPC_MESSAGE_ROUTED3( |
| 683 PpapiMsg_PPBBroker_ConnectComplete, | 685 PpapiMsg_PPBBroker_ConnectComplete, |
| 684 ppapi::HostResource /* broker */, | 686 ppapi::HostResource /* broker */, |
| 685 IPC::PlatformFileForTransit /* handle */, | 687 IPC::PlatformFileForTransit /* handle */, |
| 686 int32_t /* result */) | 688 int32_t /* result */) |
| 687 | 689 |
| 688 // PPP_ContentDecryptor_Dev | 690 // PPP_ContentDecryptor_Dev |
| 689 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPContentDecryptor_Initialize, | 691 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPContentDecryptor_Initialize, |
| 690 PP_Instance /* instance */, | 692 PP_Instance /* instance */, |
| 691 ppapi::proxy::SerializedVar /* key_system, String */) | 693 ppapi::proxy::SerializedVar /* key_system, String */) |
| 692 IPC_MESSAGE_ROUTED4(PpapiMsg_PPPContentDecryptor_CreateSession, | 694 IPC_MESSAGE_ROUTED5(PpapiMsg_PPPContentDecryptor_CreateSession, |
| 693 PP_Instance /* instance */, | 695 PP_Instance /* instance */, |
| 694 uint32_t /* session_id */, | 696 uint32_t /* promise_id */, |
| 695 ppapi::proxy::SerializedVar /* content_type, String */, | 697 ppapi::proxy::SerializedVar /* init_data_type, String */, |
| 696 ppapi::proxy::SerializedVar /* init_data, ArrayBuffer */) | 698 ppapi::proxy::SerializedVar /* init_data, ArrayBuffer */, |
| 699 PP_SessionType /* session_type */) |
| 697 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_LoadSession, | 700 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_LoadSession, |
| 698 PP_Instance /* instance */, | 701 PP_Instance /* instance */, |
| 699 uint32_t /* session_id */, | 702 uint32_t /* promise_id */, |
| 700 ppapi::proxy::SerializedVar /* web_session_id, String */) | 703 ppapi::proxy::SerializedVar /* web_session_id, String */) |
| 701 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_UpdateSession, | 704 IPC_MESSAGE_ROUTED4(PpapiMsg_PPPContentDecryptor_UpdateSession, |
| 702 PP_Instance /* instance */, | 705 PP_Instance /* instance */, |
| 703 uint32_t /* session_id */, | 706 uint32_t /* promise_id */, |
| 707 ppapi::proxy::SerializedVar /* web_session_id, String */, |
| 704 ppapi::proxy::SerializedVar /* response, ArrayBuffer */) | 708 ppapi::proxy::SerializedVar /* response, ArrayBuffer */) |
| 705 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPContentDecryptor_ReleaseSession, | 709 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_ReleaseSession, |
| 706 PP_Instance /* instance */, | 710 PP_Instance /* instance */, |
| 707 uint32_t /* session_id */) | 711 uint32_t /* promise_id */, |
| 712 ppapi::proxy::SerializedVar /* web_session_id, String */) |
| 708 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_Decrypt, | 713 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_Decrypt, |
| 709 PP_Instance /* instance */, | 714 PP_Instance /* instance */, |
| 710 ppapi::proxy::PPPDecryptor_Buffer /* buffer */, | 715 ppapi::proxy::PPPDecryptor_Buffer /* buffer */, |
| 711 std::string /* serialized_block_info */) | 716 std::string /* serialized_block_info */) |
| 712 IPC_MESSAGE_ROUTED3( | 717 IPC_MESSAGE_ROUTED3( |
| 713 PpapiMsg_PPPContentDecryptor_InitializeAudioDecoder, | 718 PpapiMsg_PPPContentDecryptor_InitializeAudioDecoder, |
| 714 PP_Instance /* instance */, | 719 PP_Instance /* instance */, |
| 715 std::string /* serialized_decoder_config */, | 720 std::string /* serialized_decoder_config */, |
| 716 ppapi::proxy::PPPDecryptor_Buffer /* extra_data_buffer */) | 721 ppapi::proxy::PPPDecryptor_Buffer /* extra_data_buffer */) |
| 717 IPC_MESSAGE_ROUTED3( | 722 IPC_MESSAGE_ROUTED3( |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1000 | 1005 |
| 1001 // PPB_Buffer. | 1006 // PPB_Buffer. |
| 1002 IPC_SYNC_MESSAGE_ROUTED2_2( | 1007 IPC_SYNC_MESSAGE_ROUTED2_2( |
| 1003 PpapiHostMsg_PPBBuffer_Create, | 1008 PpapiHostMsg_PPBBuffer_Create, |
| 1004 PP_Instance /* instance */, | 1009 PP_Instance /* instance */, |
| 1005 uint32_t /* size */, | 1010 uint32_t /* size */, |
| 1006 ppapi::HostResource /* result_resource */, | 1011 ppapi::HostResource /* result_resource */, |
| 1007 ppapi::proxy::SerializedHandle /* result_shm_handle */) | 1012 ppapi::proxy::SerializedHandle /* result_shm_handle */) |
| 1008 | 1013 |
| 1009 // PPB_ContentDecryptor_Dev messages handled in PPB_Instance_Proxy. | 1014 // PPB_ContentDecryptor_Dev messages handled in PPB_Instance_Proxy. |
| 1010 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_SessionCreated, | 1015 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_PromiseResolved, |
| 1011 PP_Instance /* instance */, | 1016 PP_Instance /* instance */, |
| 1012 uint32_t /* session_id */, | 1017 uint32_t /* promise_id */) |
| 1018 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_PromiseResolvedWithSession, |
| 1019 PP_Instance /* instance */, |
| 1020 uint32_t /* promise_id */, |
| 1013 ppapi::proxy::SerializedVar /* web_session_id, String */) | 1021 ppapi::proxy::SerializedVar /* web_session_id, String */) |
| 1022 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBInstance_PromiseRejected, |
| 1023 PP_Instance /* instance */, |
| 1024 uint32_t /* promise_id */, |
| 1025 PP_ExceptionCode /* exception_code */, |
| 1026 int32_t /* system_code */, |
| 1027 ppapi::proxy::SerializedVar /* error_description, String */) |
| 1014 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_SessionMessage, | 1028 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_SessionMessage, |
| 1015 PP_Instance /* instance */, | 1029 PP_Instance /* instance */, |
| 1016 uint32_t /* session_id */, | 1030 ppapi::proxy::SerializedVar /* web_session_id, String */, |
| 1017 ppapi::proxy::SerializedVar /* message, ArrayBuffer */, | 1031 ppapi::proxy::SerializedVar /* message, ArrayBuffer */, |
| 1018 ppapi::proxy::SerializedVar /* destination_url, String */) | 1032 ppapi::proxy::SerializedVar /* destination_url, String */) |
| 1019 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_SessionReady, | 1033 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_SessionReady, |
| 1020 PP_Instance /* instance */, | 1034 PP_Instance /* instance */, |
| 1021 uint32_t /* session_id */) | 1035 ppapi::proxy::SerializedVar /* web_session_id, String */) |
| 1022 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_SessionClosed, | 1036 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_SessionClosed, |
| 1023 PP_Instance /* instance */, | 1037 PP_Instance /* instance */, |
| 1024 uint32_t /* session_id */) | 1038 ppapi::proxy::SerializedVar /* web_session_id, String */) |
| 1025 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_SessionError, | 1039 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBInstance_SessionError, |
| 1026 PP_Instance /* instance */, | 1040 PP_Instance /* instance */, |
| 1027 uint32_t /* session_id */, | 1041 ppapi::proxy::SerializedVar /* web_session_id, String */, |
| 1028 int32_t /* media_error */, | 1042 PP_ExceptionCode /* exception_code */, |
| 1029 int32_t /* system_code */) | 1043 int32_t /* system_code */, |
| 1044 ppapi::proxy::SerializedVar /* error_description, String */) |
| 1030 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_DeliverBlock, | 1045 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_DeliverBlock, |
| 1031 PP_Instance /* instance */, | 1046 PP_Instance /* instance */, |
| 1032 PP_Resource /* decrypted_block, PPB_Buffer_Dev */, | 1047 PP_Resource /* decrypted_block, PPB_Buffer_Dev */, |
| 1033 std::string /* serialized_block_info */) | 1048 std::string /* serialized_block_info */) |
| 1034 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_DecoderInitializeDone, | 1049 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_DecoderInitializeDone, |
| 1035 PP_Instance /* instance */, | 1050 PP_Instance /* instance */, |
| 1036 PP_DecryptorStreamType /* decoder_type */, | 1051 PP_DecryptorStreamType /* decoder_type */, |
| 1037 uint32_t /* request_id */, | 1052 uint32_t /* request_id */, |
| 1038 PP_Bool /* success */) | 1053 PP_Bool /* success */) |
| 1039 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_DecoderDeinitializeDone, | 1054 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_DecoderDeinitializeDone, |
| (...skipping 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2113 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, | 2128 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, |
| 2114 PP_TalkPermission /* permission */) | 2129 PP_TalkPermission /* permission */) |
| 2115 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) | 2130 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) |
| 2116 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) | 2131 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) |
| 2117 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) | 2132 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) |
| 2118 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) | 2133 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) |
| 2119 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) | 2134 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) |
| 2120 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) | 2135 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) |
| 2121 | 2136 |
| 2122 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2137 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
| OLD | NEW |