Index: mojo/services/network/network_service_impl.cc |
diff --git a/mojo/services/network/network_service_impl.cc b/mojo/services/network/network_service_impl.cc |
index f832fc3722ea73e20d3e92aa103229b3f3311529..4352e72b3bb12188671f2d451a1fb4fc07fe64ac 100644 |
--- a/mojo/services/network/network_service_impl.cc |
+++ b/mojo/services/network/network_service_impl.cc |
@@ -6,6 +6,7 @@ |
#include "mojo/public/cpp/application/application_connection.h" |
#include "mojo/services/network/cookie_store_impl.h" |
+#include "mojo/services/network/udp_socket_impl.h" |
#include "mojo/services/network/url_loader_impl.h" |
#include "mojo/services/network/web_socket_impl.h" |
@@ -33,4 +34,8 @@ void NetworkServiceImpl::CreateWebSocket(InterfaceRequest<WebSocket> socket) { |
BindToRequest(new WebSocketImpl(context_), &socket); |
} |
+void NetworkServiceImpl::CreateUDPSocket(InterfaceRequest<UDPSocket> socket) { |
+ BindToRequest(new UDPSocketImpl(), &socket); |
+} |
+ |
} // namespace mojo |