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

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: remove duplication Created 8 years, 2 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 1485 matching lines...) Expand 10 before | Expand all | Expand 10 after
1496 uint32 /* socket_id */, 1496 uint32 /* socket_id */,
1497 int32_t /* name */, 1497 int32_t /* name */,
1498 bool /* value */) 1498 bool /* value */)
1499 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_Bind, 1499 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_Bind,
1500 int32 /* routing_id */, 1500 int32 /* routing_id */,
1501 uint32 /* socket_id */, 1501 uint32 /* socket_id */,
1502 PP_NetAddress_Private /* net_addr */) 1502 PP_NetAddress_Private /* net_addr */)
1503 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom, 1503 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom,
1504 uint32 /* socket_id */, 1504 uint32 /* socket_id */,
1505 int32_t /* num_bytes */) 1505 int32_t /* num_bytes */)
1506 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_SendTo, 1506 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBUDPSocket_SendTo,
1507 int32 /* routing_id */,
1507 uint32 /* socket_id */, 1508 uint32 /* socket_id */,
1508 std::string /* data */, 1509 std::string /* data */,
1509 PP_NetAddress_Private /* net_addr */) 1510 PP_NetAddress_Private /* net_addr */)
1510 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close, 1511 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close,
1511 uint32 /* socket_id */) 1512 uint32 /* socket_id */)
1512 1513
1513 // PPB_TCPServerSocket_Private. 1514 // PPB_TCPServerSocket_Private.
1514 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPServerSocket_Listen, 1515 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPServerSocket_Listen,
1515 int32 /* routing_id */, 1516 int32 /* routing_id */,
1516 uint32 /* plugin_dispatcher_id */, 1517 uint32 /* plugin_dispatcher_id */,
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1704 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashFontFile_GetFontTableReply, 1705 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashFontFile_GetFontTableReply,
1705 std::string /* output */) 1706 std::string /* output */)
1706 1707
1707 // Flash functions. 1708 // Flash functions.
1708 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) 1709 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create)
1709 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_EnumerateVideoCaptureDevices, 1710 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_EnumerateVideoCaptureDevices,
1710 ppapi::HostResource /* video_capture */) 1711 ppapi::HostResource /* video_capture */)
1711 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_EnumerateVideoCaptureDevicesReply, 1712 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_EnumerateVideoCaptureDevicesReply,
1712 std::vector<ppapi::DeviceRefData> /* devices */) 1713 std::vector<ppapi::DeviceRefData> /* devices */)
1713 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1714 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698