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

Unified Diff: media/cast/net/cast_transport_config.h

Issue 654843007: Cast: Increase UDP socket send buffer size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move code Created 6 years, 2 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: media/cast/net/cast_transport_config.h
diff --git a/media/cast/net/cast_transport_config.h b/media/cast/net/cast_transport_config.h
index c5da103acfba41d028be24636e280d9dbda03034..89e17af18260a4d75a3a5b72fcd38be972294440 100644
--- a/media/cast/net/cast_transport_config.h
+++ b/media/cast/net/cast_transport_config.h
@@ -139,6 +139,10 @@ class PacketSender {
// Returns the number of bytes ever sent.
virtual int64 GetBytesSent() = 0;
+ // Set the send buffer size (in bytes) for the socket.
+ // Returns a net error code.
+ virtual int SetSendBufferSize(int32 size);
+
virtual ~PacketSender() {}
};
« no previous file with comments | « no previous file | media/cast/net/cast_transport_config.cc » ('j') | media/cast/net/cast_transport_sender_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698