| Index: mojo/services/network/interfaces/network_service.mojom
|
| diff --git a/mojo/services/network/interfaces/network_service.mojom b/mojo/services/network/interfaces/network_service.mojom
|
| index c1f957cc376ef070684098cd4bcdba06fffd48c1..593cbfb807966763ff6bd2a83bcf40df6fe718e7 100644
|
| --- a/mojo/services/network/interfaces/network_service.mojom
|
| +++ b/mojo/services/network/interfaces/network_service.mojom
|
| @@ -20,6 +20,7 @@ import "network/interfaces/web_socket.mojom";
|
| // TODO Darin suggests that this should probably be two classes. One for
|
| // high-level origin-build requests like WebSockets and HTTP, and the other for
|
| // non-origin-bound low-level stuff like DNS, UDP, and TCP.
|
| +[ServiceName="mojo::NetworkService"]
|
| interface NetworkService {
|
| CreateURLLoader(URLLoader& loader);
|
|
|
| @@ -39,8 +40,7 @@ interface NetworkService {
|
| // address and port for the OS to pick both the local address and port. In
|
| // all success cases, the resulting local address will be passed to the
|
| // callback as bound_to.
|
| - CreateTCPBoundSocket(NetAddress? local_address,
|
| - TCPBoundSocket& bound_socket)
|
| + CreateTCPBoundSocket(NetAddress? local_address, TCPBoundSocket& bound_socket)
|
| => (NetworkError result, NetAddress? bound_to);
|
|
|
| // Creates a client socket connected to the given remote address. A local
|
| @@ -58,8 +58,7 @@ interface NetworkService {
|
| handle<data_pipe_consumer> send_stream,
|
| handle<data_pipe_producer> receive_stream,
|
| TCPConnectedSocket& client_socket)
|
| - => (NetworkError result,
|
| - NetAddress? local_address);
|
| + => (NetworkError result, NetAddress? local_address);
|
|
|
| CreateUDPSocket(UDPSocket& socket);
|
|
|
| @@ -71,10 +70,8 @@ interface NetworkService {
|
| // address and port for the OS to pick both the local address and port. In
|
| // all success cases, the resulting local address will be passed to the
|
| // callback as bound_to.
|
| - CreateHttpServer(NetAddress local_address,
|
| - HttpServerDelegate delegate)
|
| - => (NetworkError result,
|
| - NetAddress? bound_to);
|
| + CreateHttpServer(NetAddress local_address, HttpServerDelegate delegate)
|
| + => (NetworkError result, NetAddress? bound_to);
|
|
|
| // Register a new url loader interceptor that will be used on any new
|
| // URLLoader created with the current connection to the network service.
|
|
|