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

Unified 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: 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/cpp/private/tcp_socket_private.h
diff --git a/ppapi/cpp/private/tcp_socket_private.h b/ppapi/cpp/private/tcp_socket_private.h
index 5f2b7719207dd359a68aa78a092c6d69caf81ae7..12e435e5895b2cc5b9a07ad18b75b90956c66f71 100644
--- a/ppapi/cpp/private/tcp_socket_private.h
+++ b/ppapi/cpp/private/tcp_socket_private.h
@@ -46,6 +46,9 @@ class TCPSocketPrivate : public Resource {
int32_t bytes_to_write,
const CompletionCallback& callback);
void Disconnect();
+ int32_t SetOption(PP_TCPSocketOption_Private name,
+ const Var& value,
+ const CompletionCallback& callback);
};
} // namespace pp

Powered by Google App Engine
This is Rietveld 408576698