summaryrefslogtreecommitdiffstats
path: root/jingle/glue/fake_socket_factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'jingle/glue/fake_socket_factory.cc')
-rw-r--r--jingle/glue/fake_socket_factory.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/jingle/glue/fake_socket_factory.cc b/jingle/glue/fake_socket_factory.cc
index c5465a6f..823367f 100644
--- a/jingle/glue/fake_socket_factory.cc
+++ b/jingle/glue/fake_socket_factory.cc
@@ -33,13 +33,15 @@ talk_base::SocketAddress FakeUDPPacketSocket::GetRemoteAddress() const {
return remote_address_;
}
-int FakeUDPPacketSocket::Send(const void *data, size_t data_size) {
+int FakeUDPPacketSocket::Send(const void *data, size_t data_size,
+ talk_base::DiffServCodePoint dscp) {
DCHECK(CalledOnValidThread());
- return SendTo(data, data_size, remote_address_);
+ return SendTo(data, data_size, remote_address_, dscp);
}
int FakeUDPPacketSocket::SendTo(const void *data, size_t data_size,
- const talk_base::SocketAddress& address) {
+ const talk_base::SocketAddress& address,
+ talk_base::DiffServCodePoint dscp) {
DCHECK(CalledOnValidThread());
if (state_ == IS_CLOSED) {