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

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

Issue 10993078: Use extensions socket permission for TCP/UDP socket APIs in Pepper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed Android build Created 8 years, 1 month 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 1510 matching lines...) Expand 10 before | Expand all | Expand 10 after
1521 uint32 /* socket_id */, 1521 uint32 /* socket_id */,
1522 int32_t /* name */, 1522 int32_t /* name */,
1523 bool /* value */) 1523 bool /* value */)
1524 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_Bind, 1524 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_Bind,
1525 int32 /* routing_id */, 1525 int32 /* routing_id */,
1526 uint32 /* socket_id */, 1526 uint32 /* socket_id */,
1527 PP_NetAddress_Private /* net_addr */) 1527 PP_NetAddress_Private /* net_addr */)
1528 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom, 1528 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom,
1529 uint32 /* socket_id */, 1529 uint32 /* socket_id */,
1530 int32_t /* num_bytes */) 1530 int32_t /* num_bytes */)
1531 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_SendTo, 1531 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBUDPSocket_SendTo,
1532 int32 /* routing_id */,
1532 uint32 /* socket_id */, 1533 uint32 /* socket_id */,
1533 std::string /* data */, 1534 std::string /* data */,
1534 PP_NetAddress_Private /* net_addr */) 1535 PP_NetAddress_Private /* net_addr */)
1535 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close, 1536 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close,
1536 uint32 /* socket_id */) 1537 uint32 /* socket_id */)
1537 1538
1538 // PPB_TCPServerSocket_Private. 1539 // PPB_TCPServerSocket_Private.
1539 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPServerSocket_Listen, 1540 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPServerSocket_Listen,
1540 int32 /* routing_id */, 1541 int32 /* routing_id */,
1541 uint32 /* plugin_dispatcher_id */, 1542 uint32 /* plugin_dispatcher_id */,
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1729 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashFontFile_GetFontTableReply, 1730 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashFontFile_GetFontTableReply,
1730 std::string /* output */) 1731 std::string /* output */)
1731 1732
1732 // Flash functions. 1733 // Flash functions.
1733 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) 1734 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create)
1734 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_EnumerateVideoCaptureDevices, 1735 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_EnumerateVideoCaptureDevices,
1735 ppapi::HostResource /* video_capture */) 1736 ppapi::HostResource /* video_capture */)
1736 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_EnumerateVideoCaptureDevicesReply, 1737 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_EnumerateVideoCaptureDevicesReply,
1737 std::vector<ppapi::DeviceRefData> /* devices */) 1738 std::vector<ppapi::DeviceRefData> /* devices */)
1738 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1739 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | ppapi/proxy/ppb_udp_socket_private_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698