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

Unified Diff: ppapi/proxy/ppapi_messages.h

Issue 12220050: Provide a way to disable Nagle's algorithm on Pepper TCP sockets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Actually export v0.5 interface, and add thunk for it. Fix unit-test and add missing IsConnected che… Created 7 years, 10 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 6175d02a72b47ebb698c51ebd40ae1209a85b177..9fab30485e1490a4d3e64693b24d76923eeea89b 100644
--- a/ppapi/proxy/ppapi_messages.h
+++ b/ppapi/proxy/ppapi_messages.h
@@ -671,6 +671,10 @@ IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_WriteACK,
uint32 /* socket_id */,
bool /* succeeded */,
int32_t /* bytes_written */)
+IPC_MESSAGE_ROUTED3(PpapiMsg_PPBTCPSocket_SetBoolOptionACK,
+ uint32 /* plugin_dispatcher_id */,
+ uint32 /* socket_id */,
+ bool /* succeeded */)
// PPB_URLLoader_Trusted
IPC_MESSAGE_ROUTED1(
@@ -1213,6 +1217,10 @@ IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Write,
std::string /* data */)
IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect,
uint32 /* socket_id */)
+IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocket_SetBoolOption,
+ uint32_t /* socket_id */,
yzshen1 2013/02/12 17:39:58 Please be consistent with other messages about the
Wez 2013/02/12 18:45:21 Done.
+ uint32_t /* name */,
yzshen1 2013/02/12 17:39:58 Please use the enum type.
Wez 2013/02/12 18:45:21 This is an IPC message definition. Using the enum
yzshen1 2013/02/13 08:07:14 I don't understand, why the recipients shouldn't r
Wez 2013/02/13 22:06:22 Because over IPC an enum is transferred as an int.
yzshen1 2013/02/14 08:35:38 Your concern makes sense. I am okay to do it your
Wez 2013/02/14 08:57:53 Agreed; I've filed crbug.com/176110 for fixing the
Wez 2013/02/14 08:57:53 D'oh! Yes, I should remove the cast. There are
+ bool /* value */)
// UDPSocketPrivate.
IPC_MESSAGE_CONTROL0(PpapiHostMsg_UDPSocketPrivate_Create)

Powered by Google App Engine
This is Rietveld 408576698