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

Unified Diff: trunk/src/content/common/p2p_messages.h

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/common/p2p_messages.h
===================================================================
--- trunk/src/content/common/p2p_messages.h (revision 252899)
+++ trunk/src/content/common/p2p_messages.h (working copy)
@@ -11,7 +11,6 @@
#include "ipc/ipc_message_macros.h"
#include "net/base/ip_endpoint.h"
#include "net/base/net_util.h"
-#include "third_party/libjingle/source/talk/base/asyncpacketsocket.h"
#undef IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
@@ -21,28 +20,15 @@
content::P2P_SOCKET_TYPE_LAST)
IPC_ENUM_TRAITS_MAX_VALUE(content::P2PSocketOption,
content::P2P_SOCKET_OPT_MAX - 1)
-IPC_ENUM_TRAITS_MIN_MAX_VALUE(talk_base::DiffServCodePoint,
- talk_base::DSCP_NO_CHANGE,
- talk_base::DSCP_CS7)
+IPC_ENUM_TRAITS_MIN_MAX_VALUE(net::DiffServCodePoint,
+ net::DSCP_FIRST,
+ net::DSCP_LAST)
IPC_STRUCT_TRAITS_BEGIN(net::NetworkInterface)
IPC_STRUCT_TRAITS_MEMBER(name)
IPC_STRUCT_TRAITS_MEMBER(address)
IPC_STRUCT_TRAITS_END()
-IPC_STRUCT_TRAITS_BEGIN(talk_base::PacketTimeUpdateParams)
- IPC_STRUCT_TRAITS_MEMBER(rtp_sendtime_extension_id)
- IPC_STRUCT_TRAITS_MEMBER(srtp_auth_key)
- IPC_STRUCT_TRAITS_MEMBER(srtp_auth_tag_len)
- IPC_STRUCT_TRAITS_MEMBER(srtp_packet_index)
- IPC_STRUCT_TRAITS_MEMBER(payload_len)
-IPC_STRUCT_TRAITS_END()
-
-IPC_STRUCT_TRAITS_BEGIN(talk_base::PacketOptions)
- IPC_STRUCT_TRAITS_MEMBER(dscp)
- IPC_STRUCT_TRAITS_MEMBER(packet_time_params)
-IPC_STRUCT_TRAITS_END()
-
// P2P Socket messages sent from the browser to the renderer.
IPC_MESSAGE_CONTROL1(P2PMsg_NetworkListChanged,
@@ -99,7 +85,7 @@
int /* socket_id */,
net::IPEndPoint /* socket_address */,
std::vector<char> /* data */,
- talk_base::PacketOptions /* dscp */,
+ net::DiffServCodePoint /* dscp */,
uint64 /* packet_id */)
IPC_MESSAGE_CONTROL1(P2PHostMsg_DestroySocket,
« no previous file with comments | « trunk/src/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc ('k') | trunk/src/content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698