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, |
| + 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(); |