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

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

Issue 20777009: A few more cleanups to the pepper code. Dispatch IPCs in the sockets implementations directly by ha… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix tcp tests Created 7 years, 4 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 | Annotate | Revision Log
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 <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 // initialized (if needed) but Listen call is failed. 739 // initialized (if needed) but Listen call is failed.
740 // |status| == PP_OK means that socket is correctly initialized (if 740 // |status| == PP_OK means that socket is correctly initialized (if
741 // needed) and Listen call succeeds. 741 // needed) and Listen call succeeds.
742 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPServerSocket_ListenACK, 742 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPServerSocket_ListenACK,
743 uint32 /* plugin_dispatcher_id */, 743 uint32 /* plugin_dispatcher_id */,
744 PP_Resource /* socket_resource */, 744 PP_Resource /* socket_resource */,
745 uint32 /* socket_id */, 745 uint32 /* socket_id */,
746 PP_NetAddress_Private /* local_addr */, 746 PP_NetAddress_Private /* local_addr */,
747 int32_t /* status */) 747 int32_t /* status */)
748 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPServerSocket_AcceptACK, 748 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPServerSocket_AcceptACK,
749 uint32 /* plugin_dispatcher_id */, 749 int32 /* socket_routing_id */,
750 uint32 /* server_socket_id */, 750 uint32 /* server_socket_id */,
751 uint32 /* accepted_socket_id */, 751 uint32 /* accepted_socket_id */,
752 PP_NetAddress_Private /* local_addr */, 752 PP_NetAddress_Private /* local_addr */,
753 PP_NetAddress_Private /* remote_addr */) 753 PP_NetAddress_Private /* remote_addr */)
754 754
755 #if !defined(OS_NACL) && !defined(NACL_WIN64) 755 #if !defined(OS_NACL) && !defined(NACL_WIN64)
756 // PPP_Instance_Private. 756 // PPP_Instance_Private.
757 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiMsg_PPPInstancePrivate_GetInstanceObject, 757 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiMsg_PPPInstancePrivate_GetInstanceObject,
758 PP_Instance /* instance */, 758 PP_Instance /* instance */,
759 ppapi::proxy::SerializedVar /* result */) 759 ppapi::proxy::SerializedVar /* result */)
(...skipping 1299 matching lines...) Expand 10 before | Expand all | Expand 10 after
2059 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 2059 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
2060 PP_TalkPermission /* permission */) 2060 PP_TalkPermission /* permission */)
2061 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 2061 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
2062 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 2062 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
2063 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 2063 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
2064 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 2064 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
2065 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 2065 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
2066 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 2066 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
2067 2067
2068 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2068 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698