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

Unified Diff: ppapi/c/dev/ppb_transport_dev.h

Issue 7820008: Add TCP configuration parameters for Transport API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 3 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
« no previous file with comments | « jingle/glue/pseudotcp_adapter.h ('k') | ppapi/tests/test_transport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/dev/ppb_transport_dev.h
diff --git a/ppapi/c/dev/ppb_transport_dev.h b/ppapi/c/dev/ppb_transport_dev.h
index b1716e3ce277d048dc74aaf7b121d16fa3963b63..89e214fade989500c814f0525d4e45efe8ce04de 100644
--- a/ppapi/c/dev/ppb_transport_dev.h
+++ b/ppapi/c/dev/ppb_transport_dev.h
@@ -32,7 +32,16 @@ typedef enum {
// TCP send window in bytes. Takes effect only for PseudoTCP
// connections.
- PP_TRANSPORTPROPERTY_TCP_SEND_WINDOW = 4
+ PP_TRANSPORTPROPERTY_TCP_SEND_WINDOW = 4,
+
+ // Boolean value that disables Neagle's algorithm when set to
+ // true. When Neagle's algorithm is disabled, all outgoing packets
+ // are sent as soon as possible. When set to false (by default) data
+ // may be buffered until there is a sufficient amount to send.
+ PP_TRANSPORTPROPERTY_TCP_NO_DELAY = 5,
+
+ // Delay for ACK packets in milliseconds. By default set to 100ms.
+ PP_TRANSPORTPROPERTY_TCP_ACK_DELAY = 6
} PP_TransportProperty;
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_TransportProperty, 4);
« no previous file with comments | « jingle/glue/pseudotcp_adapter.h ('k') | ppapi/tests/test_transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698