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

Unified Diff: content/browser/renderer_host/p2p/socket_host_udp_unittest.cc

Issue 15995023: Add multicast support to DatagramServerSocket (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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 | « no previous file | net/udp/datagram_server_socket.h » ('j') | net/udp/datagram_server_socket.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/p2p/socket_host_udp_unittest.cc
diff --git a/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc b/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc
index d7a3bec80f4e1dc74ec917363c845ce8508bfcc9..9ecd56abd5403501941187603bd2a6e410cac9ca 100644
--- a/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc
+++ b/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc
@@ -116,6 +116,28 @@ class FakeDatagramServerSocket : public net::DatagramServerSocket {
NOTIMPLEMENTED();
}
+ virtual int JoinGroup(
+ const net::IPAddressNumber& group_address) const OVERRIDE {
+ NOTIMPLEMENTED();
+ return net::ERR_NOT_IMPLEMENTED;
+ }
+
+ virtual int LeaveGroup(
+ const net::IPAddressNumber& group_address) const OVERRIDE {
+ NOTIMPLEMENTED();
+ return net::ERR_NOT_IMPLEMENTED;
+ }
+
+ virtual int SetMulticastTimeToLive(int time_to_live) OVERRIDE {
+ NOTIMPLEMENTED();
+ return net::ERR_NOT_IMPLEMENTED;
+ }
+
+ virtual int SetMulticastLoopbackMode(bool loopback) OVERRIDE {
+ NOTIMPLEMENTED();
+ return net::ERR_NOT_IMPLEMENTED;
+ }
+
private:
net::IPEndPoint address_;
std::deque<UDPPacket>* sent_packets_;
« no previous file with comments | « no previous file | net/udp/datagram_server_socket.h » ('j') | net/udp/datagram_server_socket.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698