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

Side by Side Diff: ppapi/cpp/private/tcp_socket_private.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
« no previous file with comments | « ppapi/c/private/ppb_tcp_socket_private.h ('k') | ppapi/cpp/private/tcp_socket_private.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef PPAPI_CPP_PRIVATE_TCP_SOCKET_PRIVATE_H_ 5 #ifndef PPAPI_CPP_PRIVATE_TCP_SOCKET_PRIVATE_H_
6 #define PPAPI_CPP_PRIVATE_TCP_SOCKET_PRIVATE_H_ 6 #define PPAPI_CPP_PRIVATE_TCP_SOCKET_PRIVATE_H_
7 7
8 #include "ppapi/c/pp_stdint.h" 8 #include "ppapi/c/pp_stdint.h"
9 #include "ppapi/c/private/ppb_tcp_socket_private.h" 9 #include "ppapi/c/private/ppb_tcp_socket_private.h"
10 #include "ppapi/cpp/pass_ref.h" 10 #include "ppapi/cpp/pass_ref.h"
(...skipping 28 matching lines...) Expand all
39 bool AddChainBuildingCertificate(const X509CertificatePrivate& cert, 39 bool AddChainBuildingCertificate(const X509CertificatePrivate& cert,
40 bool trusted); 40 bool trusted);
41 41
42 int32_t Read(char* buffer, 42 int32_t Read(char* buffer,
43 int32_t bytes_to_read, 43 int32_t bytes_to_read,
44 const CompletionCallback& callback); 44 const CompletionCallback& callback);
45 int32_t Write(const char* buffer, 45 int32_t Write(const char* buffer,
46 int32_t bytes_to_write, 46 int32_t bytes_to_write,
47 const CompletionCallback& callback); 47 const CompletionCallback& callback);
48 void Disconnect(); 48 void Disconnect();
49 int32_t SetOption(PP_TCPSocketOption_Private name,
50 const Var& value,
51 const CompletionCallback& callback);
49 }; 52 };
50 53
51 } // namespace pp 54 } // namespace pp
52 55
53 #endif // PPAPI_CPP_PRIVATE_TCP_SOCKET_PRIVATE_H_ 56 #endif // PPAPI_CPP_PRIVATE_TCP_SOCKET_PRIVATE_H_
OLDNEW
« no previous file with comments | « ppapi/c/private/ppb_tcp_socket_private.h ('k') | ppapi/cpp/private/tcp_socket_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698