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

Side by Side Diff: mojo/services/network/net_address_type_converters.h

Issue 1873463003: Remove mojo network service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 2014 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 #ifndef MOJO_SERVICES_NETWORK_NET_ADDRESS_TYPE_CONVERTERS_H_
6 #define MOJO_SERVICES_NETWORK_NET_ADDRESS_TYPE_CONVERTERS_H_
7
8 #include "mojo/public/cpp/bindings/type_converter.h"
9 #include "mojo/services/network/public/interfaces/net_address.mojom.h"
10 #include "net/base/ip_endpoint.h"
11
12 namespace mojo {
13
14 template <>
15 struct TypeConverter<net::IPEndPoint, NetAddressPtr> {
16 static net::IPEndPoint Convert(const NetAddressPtr& obj);
17 };
18
19 template <>
20 struct TypeConverter<NetAddressPtr, net::IPEndPoint> {
21 static NetAddressPtr Convert(const net::IPEndPoint& obj);
22 };
23
24 } // namespace mojo
25
26 #endif // MOJO_SERVICES_NETWORK_NET_ADDRESS_TYPE_CONVERTERS_H_
OLDNEW
« no previous file with comments | « mojo/services/network/net_adapters.cc ('k') | mojo/services/network/net_address_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698