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

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

Issue 10944005: Pepper WebSocket API: Implement new design Chrome IPC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: retry 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 1557 matching lines...) Expand 10 before | Expand all | Expand 10 after
1568 1568
1569 // Reply to a RequestMemory call. This supplies the shared memory handle. The 1569 // Reply to a RequestMemory call. This supplies the shared memory handle. The
1570 // actual handle is passed in the ReplyParams struct. 1570 // actual handle is passed in the ReplyParams struct.
1571 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Gamepad_SendMemory) 1571 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Gamepad_SendMemory)
1572 1572
1573 // Printing. 1573 // Printing.
1574 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create) 1574 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create)
1575 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings) 1575 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings)
1576 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply, 1576 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply,
1577 PP_PrintSettings_Dev /* print_settings */) 1577 PP_PrintSettings_Dev /* print_settings */)
1578
1579 // WebSocket ------------------------------------------------------------------
brettw 2012/10/03 04:54:02 Can you put a blank line below all your hyphens?
Takashi Toyoshima 2012/10/03 11:42:20 Done.
1580 IPC_MESSAGE_CONTROL0(PpapiHostMsg_WebSocket_Create)
brettw 2012/10/03 04:54:02 I'm trying to document the IPC messages better. We
Takashi Toyoshima 2012/10/03 11:42:20 Done.
1581 IPC_MESSAGE_CONTROL2(PpapiHostMsg_WebSocket_Connect,
1582 std::string /* url */,
1583 std::string /* protocols */)
1584 IPC_MESSAGE_CONTROL2(PpapiHostMsg_WebSocket_Close,
1585 int32_t /* code */,
1586 std::string /* reason */)
1587 IPC_MESSAGE_CONTROL1(PpapiHostMsg_WebSocket_SendText,
1588 std::string /* message */)
1589 IPC_MESSAGE_CONTROL1(PpapiHostMsg_WebSocket_SendBinary,
1590 std::vector<uint8_t> /* message */)
1591 IPC_MESSAGE_CONTROL1(PpapiHostMsg_WebSocket_Fail,
1592 std::string /* message */)
1593
1594 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_WebSocket_ConnectReply,
1595 std::string /* url */,
1596 std::string /* protocols */)
1597 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_WebSocket_CloseReply,
1598 unsigned long /* buffered_amount */,
1599 bool /* was_clean */,
1600 unsigned short /* code */,
1601 std::string /* reason */)
1602
1603 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_WebSocket_ReceiveTextReply,
1604 std::string /* message */)
1605 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_WebSocket_ReceiveBinaryReply,
1606 std::vector<uint8_t> /* message */)
1607 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_WebSocket_ErrorReply)
1608 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_WebSocket_BufferedAmountReply,
1609 unsigned long /* buffered_amount */)
1610 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_WebSocket_StateReply,
1611 int32_t /* state */)
1612 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_WebSocket_ClosedReply,
1613 unsigned long /* buffered_amount */,
1614 bool /* was_clean */,
1615 unsigned short /* code */,
1616 std::string /* reason */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698