| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "network_service_impl.h" |
| 6 #include "url_loader_impl.h" |
| 7 #include "base/logging.h" |
| 8 #include <Foundation/Foundation.h> |
| 9 |
| 10 namespace mojo { |
| 11 |
| 12 void NetworkServiceImpl::CreateURLLoader( |
| 13 InterfaceRequest<URLLoader> loader) { |
| 14 new URLLoaderImpl(loader.Pass()); |
| 15 } |
| 16 |
| 17 void NetworkServiceImpl::GetCookieStore( |
| 18 InterfaceRequest<CookieStore> cookie_store) { |
| 19 DCHECK(false); |
| 20 } |
| 21 |
| 22 void NetworkServiceImpl::CreateWebSocket( |
| 23 InterfaceRequest<WebSocket> socket) { |
| 24 DCHECK(false); |
| 25 } |
| 26 |
| 27 void NetworkServiceImpl::CreateTCPBoundSocket( |
| 28 NetAddressPtr local_address, |
| 29 InterfaceRequest<TCPBoundSocket> bound_socket, |
| 30 const CreateTCPBoundSocketCallback& callback) { |
| 31 DCHECK(false); |
| 32 } |
| 33 |
| 34 void NetworkServiceImpl::CreateTCPConnectedSocket( |
| 35 NetAddressPtr remote_address, |
| 36 ScopedDataPipeConsumerHandle send_stream, |
| 37 ScopedDataPipeProducerHandle receive_stream, |
| 38 InterfaceRequest<TCPConnectedSocket> client_socket, |
| 39 const CreateTCPConnectedSocketCallback& callback) { |
| 40 DCHECK(false); |
| 41 } |
| 42 |
| 43 void NetworkServiceImpl::CreateUDPSocket( |
| 44 InterfaceRequest<UDPSocket> socket) { |
| 45 DCHECK(false); |
| 46 } |
| 47 |
| 48 void NetworkServiceImpl::CreateHttpServer( |
| 49 NetAddressPtr local_address, |
| 50 HttpServerDelegatePtr delegate, |
| 51 const CreateHttpServerCallback& callback) { |
| 52 DCHECK(false); |
| 53 } |
| 54 |
| 55 void NetworkServiceImpl::RegisterURLLoaderInterceptor( |
| 56 URLLoaderInterceptorFactoryPtr factory) { |
| 57 DCHECK(false); |
| 58 } |
| 59 |
| 60 void NetworkServiceFactory::Create(ApplicationConnection* connection, |
| 61 InterfaceRequest<NetworkService> request) { |
| 62 new NetworkServiceImpl(request.Pass()); |
| 63 } |
| 64 |
| 65 } // namespace mojo |
| OLD | NEW |