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

Side by Side Diff: mojo/services/network/public/interfaces/net_address.mojom

Issue 789243002: Restructure public side of network service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase Created 6 years 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 2014 The Chromium Authors. All rights reserved. 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 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 module mojo; 5 module mojo;
6 6
7 enum NetAddressFamily { 7 enum NetAddressFamily {
8 UNSPECIFIED, 8 UNSPECIFIED,
9 IPV4, 9 IPV4,
10 IPV6 10 IPV6
(...skipping 19 matching lines...) Expand all
30 }; 30 };
31 31
32 struct NetAddress { 32 struct NetAddress {
33 NetAddressFamily family = UNSPECIFIED; 33 NetAddressFamily family = UNSPECIFIED;
34 34
35 // At most one of the following fields is non-NULL depending on the value of 35 // At most one of the following fields is non-NULL depending on the value of
36 // |family|. 36 // |family|.
37 NetAddressIPv4? ipv4; 37 NetAddressIPv4? ipv4;
38 NetAddressIPv6? ipv6; 38 NetAddressIPv6? ipv6;
39 }; 39 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698