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

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: plumb DSCP up through IPC layer 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,
+ const std::vector<char>& data,
+ net::DiffServCodePoint dscp);
juberti2 2013/08/09 01:05:24 Not sure it makes sense to use an enumerated type
hubbe 2013/08/15 23:31:11 Got a third and a fourth opinion, I think people g
+
// 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