summaryrefslogtreecommitdiffstats
path: root/webkit/glue/p2p_transport.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-06 18:43:00 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-06 18:43:00 +0000
commit21c7ff9afa9017603dd43007ce98939c2676a2c6 (patch)
treeb340f9f95dafba7c33eb0658376de29021cb736d /webkit/glue/p2p_transport.h
parentd952a0583a393551b3f08fb77bd8cd49dde6c446 (diff)
downloadchromium_src-21c7ff9afa9017603dd43007ce98939c2676a2c6.zip
chromium_src-21c7ff9afa9017603dd43007ce98939c2676a2c6.tar.gz
chromium_src-21c7ff9afa9017603dd43007ce98939c2676a2c6.tar.bz2
Add TCP configuration parameters for Transport API.
BUG=91439 TEST=None Review URL: http://codereview.chromium.org/7820008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99776 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/p2p_transport.h')
-rw-r--r--webkit/glue/p2p_transport.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/glue/p2p_transport.h b/webkit/glue/p2p_transport.h
index 652117e..7795344 100644
--- a/webkit/glue/p2p_transport.h
+++ b/webkit/glue/p2p_transport.h
@@ -62,6 +62,12 @@ class P2PTransport {
// TCP window sizes. Default size is used when set to 0.
int tcp_receive_window;
int tcp_send_window;
+
+ // Disables Neagle's algorithm when set to true.
+ bool tcp_no_delay;
+
+ // TCP ACK delay.
+ int tcp_ack_delay_ms;
};
virtual ~P2PTransport() {}