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

Side by Side Diff: sky/services/ns_net/network_service_impl.mm

Issue 1165283002: Basic network service implementation for iOS (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
OLDNEW
(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 mojo::InterfaceRequest<mojo::URLLoader> loader) {
eseidel 2015/06/08 20:53:53 Same problem here. No need for mojo:: inside name
14 new URLLoaderImpl(loader.Pass());
15 }
16
17 void NetworkServiceImpl::GetCookieStore(
18 mojo::InterfaceRequest<mojo::CookieStore> cookie_store) {
19 DCHECK(false);
20 }
21
22 void NetworkServiceImpl::CreateWebSocket(
23 mojo::InterfaceRequest<mojo::WebSocket> socket) {
24 DCHECK(false);
25 }
26
27 void NetworkServiceImpl::CreateTCPBoundSocket(
28 mojo::NetAddressPtr local_address,
29 mojo::InterfaceRequest<mojo::TCPBoundSocket> bound_socket,
30 const CreateTCPBoundSocketCallback& callback) {
31 DCHECK(false);
32 }
33
34 void NetworkServiceImpl::CreateTCPConnectedSocket(
35 mojo::NetAddressPtr remote_address,
36 mojo::ScopedDataPipeConsumerHandle send_stream,
37 mojo::ScopedDataPipeProducerHandle receive_stream,
38 mojo::InterfaceRequest<mojo::TCPConnectedSocket> client_socket,
39 const CreateTCPConnectedSocketCallback& callback) {
40 DCHECK(false);
41 }
42
43 void NetworkServiceImpl::CreateUDPSocket(
44 mojo::InterfaceRequest<mojo::UDPSocket> socket) {
45 DCHECK(false);
46 }
47
48 void NetworkServiceImpl::CreateHttpServer(
49 mojo::NetAddressPtr local_address,
50 mojo::HttpServerDelegatePtr delegate,
51 const CreateHttpServerCallback& callback) {
52 DCHECK(false);
53 }
54
55 void NetworkServiceFactory::Create(ApplicationConnection* connection,
56 InterfaceRequest<NetworkService> request) {
57 new NetworkServiceImpl(request.Pass());
58 }
59
60 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698