Chromium Code Reviews| 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(); |