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

Unified Diff: mojo/services/network/public/interfaces/net_address.mojom

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 side-by-side diff with in-line comments
Download patch
Index: mojo/services/network/public/interfaces/net_address.mojom
diff --git a/mojo/services/network/public/interfaces/net_address.mojom b/mojo/services/network/public/interfaces/net_address.mojom
deleted file mode 100644
index e91973bd2e8cf3e1aad6228a4f7e52da8d136833..0000000000000000000000000000000000000000
--- a/mojo/services/network/public/interfaces/net_address.mojom
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module mojo;
-
-enum NetAddressFamily {
- UNSPECIFIED,
- IPV4,
- IPV6
-};
-
-struct NetAddressIPv4 {
- // The port number. This is in the local machine's endianness.
- uint16 port;
-
- // The address is expressed in network byte order, so the most significant
- // byte ("127" in the address "127.0.0.1") will be at index 0.
- array<uint8, 4> addr;
-};
-
-// All members are expressed in network byte order.
-struct NetAddressIPv6 {
- // The port number. This is in the local machine's endianness.
- uint16 port;
-
- // The address is expressed in network byte order, so the most significant
- // byte is at index 0.
- array<uint8, 16> addr;
-};
-
-struct NetAddress {
- NetAddressFamily family = UNSPECIFIED;
-
- // At most one of the following fields is non-NULL depending on the value of
- // |family|.
- NetAddressIPv4? ipv4;
- NetAddressIPv6? ipv6;
-};
« no previous file with comments | « mojo/services/network/public/interfaces/http_server.mojom ('k') | mojo/services/network/public/interfaces/network_error.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698