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

Unified Diff: trunk/src/content/renderer/p2p/ipc_socket_factory.cc

Issue 177603002: Revert 252408 "Adding talk_base::PacketOptions to P2P IPC Send m..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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
Index: trunk/src/content/renderer/p2p/ipc_socket_factory.cc
===================================================================
--- trunk/src/content/renderer/p2p/ipc_socket_factory.cc (revision 252899)
+++ trunk/src/content/renderer/p2p/ipc_socket_factory.cc (working copy)
@@ -296,7 +296,8 @@
const char* data_char = reinterpret_cast<const char*>(data);
std::vector<char> data_vector(data_char, data_char + data_size);
- client_->SendWithOptions(address_chrome, data_vector, options);
+ client_->SendWithDscp(address_chrome, data_vector,
+ static_cast<net::DiffServCodePoint>(options.dscp));
// Fake successful send. The caller ignores result anyway.
return data_size;
« no previous file with comments | « trunk/src/content/public/renderer/p2p_socket_client.h ('k') | trunk/src/content/renderer/p2p/socket_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698