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

Side by Side 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: Rebase. 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 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 656 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_ReadACK, 667 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_ReadACK,
668 uint32 /* plugin_dispatcher_id */, 668 uint32 /* plugin_dispatcher_id */,
669 uint32 /* socket_id */, 669 uint32 /* socket_id */,
670 bool /* succeeded */, 670 bool /* succeeded */,
671 std::string /* data */) 671 std::string /* data */)
672 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_WriteACK, 672 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_WriteACK,
673 uint32 /* plugin_dispatcher_id */, 673 uint32 /* plugin_dispatcher_id */,
674 uint32 /* socket_id */, 674 uint32 /* socket_id */,
675 bool /* succeeded */, 675 bool /* succeeded */,
676 int32_t /* bytes_written */) 676 int32_t /* bytes_written */)
677 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBTCPSocket_SetBoolOptionACK,
678 uint32 /* plugin_dispatcher_id */,
679 uint32 /* socket_id */,
680 bool /* succeeded */)
677 681
678 // PPB_URLLoader_Trusted 682 // PPB_URLLoader_Trusted
679 IPC_MESSAGE_ROUTED1( 683 IPC_MESSAGE_ROUTED1(
680 PpapiMsg_PPBURLLoader_UpdateProgress, 684 PpapiMsg_PPBURLLoader_UpdateProgress,
681 ppapi::proxy::PPBURLLoader_UpdateProgress_Params /* params */) 685 ppapi::proxy::PPBURLLoader_UpdateProgress_Params /* params */)
682 686
683 // PPB_TCPServerSocket_Private. 687 // PPB_TCPServerSocket_Private.
684 688
685 // |socket_resource| should not be used as Resource in browser. The 689 // |socket_resource| should not be used as Resource in browser. The
686 // only purpose of this argument is to be echoed back. 690 // only purpose of this argument is to be echoed back.
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
1193 std::vector<std::vector<char> > /* trusted_certs */, 1197 std::vector<std::vector<char> > /* trusted_certs */,
1194 std::vector<std::vector<char> > /* untrusted_certs */) 1198 std::vector<std::vector<char> > /* untrusted_certs */)
1195 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Read, 1199 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Read,
1196 uint32 /* socket_id */, 1200 uint32 /* socket_id */,
1197 int32_t /* bytes_to_read */) 1201 int32_t /* bytes_to_read */)
1198 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Write, 1202 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Write,
1199 uint32 /* socket_id */, 1203 uint32 /* socket_id */,
1200 std::string /* data */) 1204 std::string /* data */)
1201 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect, 1205 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect,
1202 uint32 /* socket_id */) 1206 uint32 /* socket_id */)
1207 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocket_SetBoolOption,
1208 uint32 /* socket_id */,
1209 uint32 /* name */,
1210 bool /* value */)
1203 1211
1204 // UDPSocketPrivate. 1212 // UDPSocketPrivate.
1205 IPC_MESSAGE_CONTROL0(PpapiHostMsg_UDPSocketPrivate_Create) 1213 IPC_MESSAGE_CONTROL0(PpapiHostMsg_UDPSocketPrivate_Create)
1206 IPC_MESSAGE_CONTROL2(PpapiHostMsg_UDPSocketPrivate_SetBoolSocketFeature, 1214 IPC_MESSAGE_CONTROL2(PpapiHostMsg_UDPSocketPrivate_SetBoolSocketFeature,
1207 int32_t /* name */, 1215 int32_t /* name */,
1208 bool /* value */) 1216 bool /* value */)
1209 IPC_MESSAGE_CONTROL1(PpapiHostMsg_UDPSocketPrivate_Bind, 1217 IPC_MESSAGE_CONTROL1(PpapiHostMsg_UDPSocketPrivate_Bind,
1210 PP_NetAddress_Private /* net_addr */) 1218 PP_NetAddress_Private /* net_addr */)
1211 IPC_MESSAGE_CONTROL1(PpapiHostMsg_UDPSocketPrivate_RecvFrom, 1219 IPC_MESSAGE_CONTROL1(PpapiHostMsg_UDPSocketPrivate_RecvFrom,
1212 int32_t /* num_bytes */) 1220 int32_t /* num_bytes */)
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
1702 std::vector<ppapi::HostResource> /* buffers */, 1710 std::vector<ppapi::HostResource> /* buffers */,
1703 uint32_t /* buffer_size */) 1711 uint32_t /* buffer_size */)
1704 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 1712 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
1705 uint32_t /* status */) 1713 uint32_t /* status */)
1706 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 1714 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
1707 uint32_t /* error */) 1715 uint32_t /* error */)
1708 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 1716 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
1709 uint32_t /* buffer */) 1717 uint32_t /* buffer */)
1710 1718
1711 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1719 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c ('k') | ppapi/proxy/ppb_tcp_socket_private_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698