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

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

Powered by Google App Engine
This is Rietveld 408576698