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

Unified Diff: content/renderer/p2p/socket_client.h

Issue 22381012: Allow p2p UDP packages to set DSCP (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: extra newline removed Created 7 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: content/renderer/p2p/socket_client.h
diff --git a/content/renderer/p2p/socket_client.h b/content/renderer/p2p/socket_client.h
index fd8537e7242647849ce67a9622195e43d583435a..35c5152f4bdb531586b9144bd0e575bdc99b384a 100644
--- a/content/renderer/p2p/socket_client.h
+++ b/content/renderer/p2p/socket_client.h
@@ -55,6 +55,12 @@ class P2PSocketClient : public base::RefCountedThreadSafe<P2PSocketClient> {
// Send the |data| to the |address|.
void Send(const net::IPEndPoint& address, const std::vector<char>& data);
+ // Send the |data| to the |address| using Differentiated Services Code Point
+ // |dscp|.
+ void SendWithDscp(const net::IPEndPoint& address,
Sergey Ulanov 2013/08/17 05:50:04 Do we expect to change dscp often? Maybe add SetTo
juberti2 2013/08/19 16:06:07 For hierarchically encoded video, we may change ds
hubbe 2013/08/21 18:51:36 I'll changing Send() to default to SendWithDscp(..
+ const std::vector<char>& data,
+ net::DiffServCodePoint dscp);
+
// Must be called before the socket is destroyed. The delegate may
// not be called after |closed_task| is executed.
void Close();

Powered by Google App Engine
This is Rietveld 408576698