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

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, 4 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/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..38b85a15dd9fe58b78d7e196e659b5bf0667c676 100644
--- a/ppapi/c/dev/ppb_transport_dev.h
+++ b/ppapi/c/dev/ppb_transport_dev.h
@@ -32,7 +32,15 @@ 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 indicates wether Neagle's algorithm should be
+ // enabled or not. Neagle's algorithm is disabled when this property
+ // is set to true.
+ 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);

Powered by Google App Engine
This is Rietveld 408576698