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

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 563073002: Pepper UDP socket: buffer received packets in the plugin process to improve performance. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 unified diff | Download patch
OLDNEW
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 1707 matching lines...) Expand 10 before | Expand all | Expand 10 after
1718 IPC_MESSAGE_CONTROL0(PpapiHostMsg_UDPSocket_CreatePrivate) 1718 IPC_MESSAGE_CONTROL0(PpapiHostMsg_UDPSocket_CreatePrivate)
1719 1719
1720 IPC_MESSAGE_CONTROL2(PpapiHostMsg_UDPSocket_SetOption, 1720 IPC_MESSAGE_CONTROL2(PpapiHostMsg_UDPSocket_SetOption,
1721 PP_UDPSocket_Option /* name */, 1721 PP_UDPSocket_Option /* name */,
1722 ppapi::SocketOptionData /* value */) 1722 ppapi::SocketOptionData /* value */)
1723 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_UDPSocket_SetOptionReply) 1723 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_UDPSocket_SetOptionReply)
1724 IPC_MESSAGE_CONTROL1(PpapiHostMsg_UDPSocket_Bind, 1724 IPC_MESSAGE_CONTROL1(PpapiHostMsg_UDPSocket_Bind,
1725 PP_NetAddress_Private /* net_addr */) 1725 PP_NetAddress_Private /* net_addr */)
1726 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_UDPSocket_BindReply, 1726 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_UDPSocket_BindReply,
1727 PP_NetAddress_Private /* bound_addr */) 1727 PP_NetAddress_Private /* bound_addr */)
1728 IPC_MESSAGE_CONTROL1(PpapiHostMsg_UDPSocket_RecvFrom, 1728 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_UDPSocket_PushRecvResult,
1729 int32_t /* num_bytes */) 1729 int32_t /* result */,
1730 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_UDPSocket_RecvFromReply,
1731 std::string /* data */, 1730 std::string /* data */,
1732 PP_NetAddress_Private /* remote_addr */) 1731 PP_NetAddress_Private /* remote_addr */)
1732 IPC_MESSAGE_CONTROL0(PpapiHostMsg_UDPSocket_RecvSlotAvailable)
1733 IPC_MESSAGE_CONTROL2(PpapiHostMsg_UDPSocket_SendTo, 1733 IPC_MESSAGE_CONTROL2(PpapiHostMsg_UDPSocket_SendTo,
1734 std::string /* data */, 1734 std::string /* data */,
1735 PP_NetAddress_Private /* net_addr */) 1735 PP_NetAddress_Private /* net_addr */)
1736 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_UDPSocket_SendToReply, 1736 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_UDPSocket_SendToReply,
1737 int32_t /* bytes_written */) 1737 int32_t /* bytes_written */)
1738 IPC_MESSAGE_CONTROL0(PpapiHostMsg_UDPSocket_Close) 1738 IPC_MESSAGE_CONTROL0(PpapiHostMsg_UDPSocket_Close)
1739 1739
1740 // URLLoader ------------------------------------------------------------------ 1740 // URLLoader ------------------------------------------------------------------
1741 1741
1742 IPC_MESSAGE_CONTROL0(PpapiHostMsg_URLLoader_Create) 1742 IPC_MESSAGE_CONTROL0(PpapiHostMsg_URLLoader_Create)
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
2265 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 2265 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
2266 PP_TalkPermission /* permission */) 2266 PP_TalkPermission /* permission */)
2267 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 2267 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
2268 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 2268 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
2269 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 2269 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
2270 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 2270 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
2271 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 2271 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
2272 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 2272 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
2273 2273
2274 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2274 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698