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

Unified Diff: jingle/glue/channel_socket_adapter.cc

Issue 167893002: Roll webrtc to r5549. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 10 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
« no previous file with comments | « content/renderer/p2p/ipc_socket_factory.cc ('k') | jingle/glue/channel_socket_adapter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: jingle/glue/channel_socket_adapter.cc
===================================================================
--- jingle/glue/channel_socket_adapter.cc (revision 251546)
+++ jingle/glue/channel_socket_adapter.cc (working copy)
@@ -76,9 +76,9 @@
}
int result;
+ talk_base::PacketOptions options;
if (channel_->writable()) {
- result = channel_->SendPacket(buffer->data(), buffer_size,
- talk_base::DSCP_NO_CHANGE);
+ result = channel_->SendPacket(buffer->data(), buffer_size, options);
if (result < 0) {
result = net::MapSystemError(channel_->GetError());
@@ -172,9 +172,10 @@
DCHECK_EQ(base::MessageLoop::current(), message_loop_);
// Try to send the packet if there is a pending write.
if (!write_callback_.is_null()) {
+ talk_base::PacketOptions options;
int result = channel_->SendPacket(write_buffer_->data(),
write_buffer_size_,
- talk_base::DSCP_NO_CHANGE);
+ options);
if (result < 0)
result = net::MapSystemError(channel_->GetError());
« no previous file with comments | « content/renderer/p2p/ipc_socket_factory.cc ('k') | jingle/glue/channel_socket_adapter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698