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

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

Issue 9379002: Move socket API restriction check to browser process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 10 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/file_path.h" 10 #include "base/file_path.h"
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 uint16_t /* port */) 795 uint16_t /* port */)
796 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlashNetConnector_ConnectTcpAddress, 796 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlashNetConnector_ConnectTcpAddress,
797 ppapi::HostResource /* connector */, 797 ppapi::HostResource /* connector */,
798 std::string /* net_address_as_string */) 798 std::string /* net_address_as_string */)
799 799
800 // PPB_TCPSocket_Private. 800 // PPB_TCPSocket_Private.
801 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBTCPSocket_Create, 801 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBTCPSocket_Create,
802 int32 /* routing_id */, 802 int32 /* routing_id */,
803 uint32 /* plugin_dispatcher_id */, 803 uint32 /* plugin_dispatcher_id */,
804 uint32 /* socket_id */) 804 uint32 /* socket_id */)
805 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocket_Connect, 805 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBTCPSocket_Connect,
806 int32 /* routing_id */,
806 uint32 /* socket_id */, 807 uint32 /* socket_id */,
807 std::string /* host */, 808 std::string /* host */,
808 uint16_t /* port */) 809 uint16_t /* port */)
809 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_ConnectWithNetAddress, 810 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocket_ConnectWithNetAddress,
811 int32 /* routing_id */,
810 uint32 /* socket_id */, 812 uint32 /* socket_id */,
811 PP_NetAddress_Private /* net_addr */) 813 PP_NetAddress_Private /* net_addr */)
812 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocket_SSLHandshake, 814 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocket_SSLHandshake,
813 uint32 /* socket_id */, 815 uint32 /* socket_id */,
814 std::string /* server_name */, 816 std::string /* server_name */,
815 uint16_t /* server_port */) 817 uint16_t /* server_port */)
816 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Read, 818 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Read,
817 uint32 /* socket_id */, 819 uint32 /* socket_id */,
818 int32_t /* bytes_to_read */) 820 int32_t /* bytes_to_read */)
819 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Write, 821 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Write,
820 uint32 /* socket_id */, 822 uint32 /* socket_id */,
821 std::string /* data */) 823 std::string /* data */)
822 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect, 824 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect,
823 uint32 /* socket_id */) 825 uint32 /* socket_id */)
824 826
825 // PPB_UDPSocket_Private. 827 // PPB_UDPSocket_Private.
826 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBUDPSocket_Create, 828 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBUDPSocket_Create,
827 int32 /* routing_id */, 829 int32 /* routing_id */,
828 uint32 /* plugin_dispatcher_id */, 830 uint32 /* plugin_dispatcher_id */,
829 uint32 /* socket_id */) 831 uint32 /* socket_id */)
830 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_Bind, 832 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_Bind,
833 int32 /* routing_id */,
831 uint32 /* socket_id */, 834 uint32 /* socket_id */,
832 PP_NetAddress_Private /* net_addr */) 835 PP_NetAddress_Private /* net_addr */)
833 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom, 836 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom,
834 uint32 /* socket_id */, 837 uint32 /* socket_id */,
835 int32_t /* num_bytes */) 838 int32_t /* num_bytes */)
836 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_SendTo, 839 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_SendTo,
837 uint32 /* socket_id */, 840 uint32 /* socket_id */,
838 std::string /* data */, 841 std::string /* data */,
839 PP_NetAddress_Private /* net_addr */) 842 PP_NetAddress_Private /* net_addr */)
840 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close, 843 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close,
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
1157 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) 1160 std::vector<PP_PictureBuffer_Dev> /* picture buffers */)
1158 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, 1161 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer,
1159 ppapi::HostResource /* video_decoder */, 1162 ppapi::HostResource /* video_decoder */,
1160 int32_t /* picture buffer id */) 1163 int32_t /* picture buffer id */)
1161 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, 1164 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush,
1162 ppapi::HostResource /* video_decoder */) 1165 ppapi::HostResource /* video_decoder */)
1163 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, 1166 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset,
1164 ppapi::HostResource /* video_decoder */) 1167 ppapi::HostResource /* video_decoder */)
1165 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, 1168 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy,
1166 ppapi::HostResource /* video_decoder */) 1169 ppapi::HostResource /* video_decoder */)
OLDNEW
« no previous file with comments | « content/shell/shell_content_renderer_client.cc ('k') | ppapi/proxy/ppb_tcp_socket_private_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698