Index: jingle/glue/pseudotcp_adapter.h |
diff --git a/jingle/glue/pseudotcp_adapter.h b/jingle/glue/pseudotcp_adapter.h |
index e53d722e3657ef9865fa6e041ac437b1011f6b60..2d256013c515352cfc8b4495008c1c8a1d3e8ca7 100644 |
--- a/jingle/glue/pseudotcp_adapter.h |
+++ b/jingle/glue/pseudotcp_adapter.h |
@@ -52,6 +52,12 @@ class PseudoTcpAdapter : public net::StreamSocket, base::NonThreadSafe { |
virtual int64 NumBytesRead() const OVERRIDE; |
virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE; |
+ // Set the delay for sending ACK. |
+ void SetAckDelay(int delay_ms); |
+ |
+ // Set whether Nagle's algorithm is enabled. |
+ void SetNagling(bool nagling); |
Sergey Ulanov
2011/06/28 18:34:26
nit: SetNoDelay or SetNagleEnabled? I like SetNoDe
|
+ |
private: |
class Core; |