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

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

Issue 1215953006: Use sky_shell instead of mojo_shell for testing. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Foo Created 5 years, 5 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "network_service_impl.h" 5 #include "sky/services/ns_net/network_service_impl.h"
6 #include "url_loader_impl.h" 6 #include "sky/services/ns_net/url_loader_impl.h"
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include <Foundation/Foundation.h>
9 8
10 namespace mojo { 9 namespace mojo {
11 10
11 NetworkServiceImpl::NetworkServiceImpl(InterfaceRequest<NetworkService> request)
12 : binding_(this, request.Pass()) {
13 }
14
15 NetworkServiceImpl::~NetworkServiceImpl() {
16 }
17
12 void NetworkServiceImpl::CreateURLLoader( 18 void NetworkServiceImpl::CreateURLLoader(
13 InterfaceRequest<URLLoader> loader) { 19 InterfaceRequest<URLLoader> loader) {
14 new URLLoaderImpl(loader.Pass()); 20 new URLLoaderImpl(loader.Pass());
15 } 21 }
16 22
17 void NetworkServiceImpl::GetCookieStore( 23 void NetworkServiceImpl::GetCookieStore(
18 InterfaceRequest<CookieStore> cookie_store) { 24 InterfaceRequest<CookieStore> cookie_store) {
19 DCHECK(false); 25 DCHECK(false);
20 } 26 }
21 27
(...skipping 28 matching lines...) Expand all
50 HttpServerDelegatePtr delegate, 56 HttpServerDelegatePtr delegate,
51 const CreateHttpServerCallback& callback) { 57 const CreateHttpServerCallback& callback) {
52 DCHECK(false); 58 DCHECK(false);
53 } 59 }
54 60
55 void NetworkServiceImpl::RegisterURLLoaderInterceptor( 61 void NetworkServiceImpl::RegisterURLLoaderInterceptor(
56 URLLoaderInterceptorFactoryPtr factory) { 62 URLLoaderInterceptorFactoryPtr factory) {
57 DCHECK(false); 63 DCHECK(false);
58 } 64 }
59 65
66 void NetworkServiceImpl::CreateHostResolver(InterfaceRequest<HostResolver> host_ resolver) {
67 DCHECK(false);
68 }
69
60 void NetworkServiceFactory::Create(ApplicationConnection* connection, 70 void NetworkServiceFactory::Create(ApplicationConnection* connection,
61 InterfaceRequest<NetworkService> request) { 71 InterfaceRequest<NetworkService> request) {
62 new NetworkServiceImpl(request.Pass()); 72 new NetworkServiceImpl(request.Pass());
63 } 73 }
64 74
65 } // namespace mojo 75 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698