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

Unified Diff: jingle/glue/pseudotcp_adapter.h

Issue 7275024: PseudoTcp to expose settings of nagling and ACK delay (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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 | « no previous file | jingle/glue/pseudotcp_adapter.cc » ('j') | remoting/protocol/jingle_session_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | jingle/glue/pseudotcp_adapter.cc » ('j') | remoting/protocol/jingle_session_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698