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

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: 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 1453 matching lines...) Expand 10 before | Expand all | Expand 10 after
1464 uint32 /* socket_id */, 1464 uint32 /* socket_id */,
1465 int32_t /* name */, 1465 int32_t /* name */,
1466 bool /* value */) 1466 bool /* value */)
1467 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_Bind, 1467 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_Bind,
1468 int32 /* routing_id */, 1468 int32 /* routing_id */,
1469 uint32 /* socket_id */, 1469 uint32 /* socket_id */,
1470 PP_NetAddress_Private /* net_addr */) 1470 PP_NetAddress_Private /* net_addr */)
1471 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom, 1471 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom,
1472 uint32 /* socket_id */, 1472 uint32 /* socket_id */,
1473 int32_t /* num_bytes */) 1473 int32_t /* num_bytes */)
1474 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_SendTo, 1474 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBUDPSocket_SendTo,
1475 int32 /* routing_id */,
1475 uint32 /* socket_id */, 1476 uint32 /* socket_id */,
1476 std::string /* data */, 1477 std::string /* data */,
1477 PP_NetAddress_Private /* net_addr */) 1478 PP_NetAddress_Private /* net_addr */)
1478 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close, 1479 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close,
1479 uint32 /* socket_id */) 1480 uint32 /* socket_id */)
1480 1481
1481 // PPB_TCPServerSocket_Private. 1482 // PPB_TCPServerSocket_Private.
1482 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPServerSocket_Listen, 1483 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPServerSocket_Listen,
1483 int32 /* routing_id */, 1484 int32 /* routing_id */,
1484 uint32 /* plugin_dispatcher_id */, 1485 uint32 /* plugin_dispatcher_id */,
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
1568 1569
1569 // Reply to a RequestMemory call. This supplies the shared memory handle. The 1570 // Reply to a RequestMemory call. This supplies the shared memory handle. The
1570 // actual handle is passed in the ReplyParams struct. 1571 // actual handle is passed in the ReplyParams struct.
1571 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Gamepad_SendMemory) 1572 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Gamepad_SendMemory)
1572 1573
1573 // Printing. 1574 // Printing.
1574 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create) 1575 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create)
1575 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings) 1576 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings)
1576 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply, 1577 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply,
1577 PP_PrintSettings_Dev /* print_settings */) 1578 PP_PrintSettings_Dev /* print_settings */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698