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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/proxy/ppapi_messages.h
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h
index bd24ab2415107204c2c32dfc390b24ec3ffba26b..023096feccb9d45b8343ab7cd7fa38a3b24129e3 100644
--- a/ppapi/proxy/ppapi_messages.h
+++ b/ppapi/proxy/ppapi_messages.h
@@ -1575,3 +1575,42 @@ IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create)
IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings)
IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply,
PP_PrintSettings_Dev /* print_settings */)
+
+// 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.
+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.
+IPC_MESSAGE_CONTROL2(PpapiHostMsg_WebSocket_Connect,
+ std::string /* url */,
+ std::string /* protocols */)
+IPC_MESSAGE_CONTROL2(PpapiHostMsg_WebSocket_Close,
+ int32_t /* code */,
+ std::string /* reason */)
+IPC_MESSAGE_CONTROL1(PpapiHostMsg_WebSocket_SendText,
+ std::string /* message */)
+IPC_MESSAGE_CONTROL1(PpapiHostMsg_WebSocket_SendBinary,
+ std::vector<uint8_t> /* message */)
+IPC_MESSAGE_CONTROL1(PpapiHostMsg_WebSocket_Fail,
+ std::string /* message */)
+
+IPC_MESSAGE_CONTROL2(PpapiPluginMsg_WebSocket_ConnectReply,
+ std::string /* url */,
+ std::string /* protocols */)
+IPC_MESSAGE_CONTROL4(PpapiPluginMsg_WebSocket_CloseReply,
+ unsigned long /* buffered_amount */,
+ bool /* was_clean */,
+ unsigned short /* code */,
+ std::string /* reason */)
+
+IPC_MESSAGE_CONTROL1(PpapiPluginMsg_WebSocket_ReceiveTextReply,
+ std::string /* message */)
+IPC_MESSAGE_CONTROL1(PpapiPluginMsg_WebSocket_ReceiveBinaryReply,
+ std::vector<uint8_t> /* message */)
+IPC_MESSAGE_CONTROL0(PpapiPluginMsg_WebSocket_ErrorReply)
+IPC_MESSAGE_CONTROL1(PpapiPluginMsg_WebSocket_BufferedAmountReply,
+ unsigned long /* buffered_amount */)
+IPC_MESSAGE_CONTROL1(PpapiPluginMsg_WebSocket_StateReply,
+ int32_t /* state */)
+IPC_MESSAGE_CONTROL4(PpapiPluginMsg_WebSocket_ClosedReply,
+ unsigned long /* buffered_amount */,
+ bool /* was_clean */,
+ unsigned short /* code */,
+ std::string /* reason */)

Powered by Google App Engine
This is Rietveld 408576698