Index: content/browser/renderer_host/p2p/socket_host.cc |
diff --git a/content/browser/renderer_host/p2p/socket_host.cc b/content/browser/renderer_host/p2p/socket_host.cc |
index fea564ec5ec150f4869dd1ed8d4d958b55094ff3..09942876a2a4b2c7caf07f7415bfa77f982efa59 100644 |
--- a/content/browser/renderer_host/p2p/socket_host.cc |
+++ b/content/browser/renderer_host/p2p/socket_host.cc |
@@ -66,6 +66,12 @@ bool P2PSocketHost::GetStunPacketType( |
} |
// static |
+bool P2PSocketHost::IsRequestOrResponse(StunMessageType type) { |
+ return type == STUN_BINDING_REQUEST || type == STUN_BINDING_RESPONSE || |
+ type == STUN_ALLOCATE_REQUEST || type == STUN_ALLOCATE_RESPONSE; |
+} |
+ |
+// static |
P2PSocketHost* P2PSocketHost::Create( |
IPC::Message::Sender* message_sender, int routing_id, int id, |
P2PSocketType type) { |