Index: mojo/dart/packages/mojo_services/lib/mojo/net_address.mojom.dart |
diff --git a/mojo/dart/packages/mojo_services/lib/mojo/net_address.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/net_address.mojom.dart |
index d97489862f00466bd36c3e6e48ce694d8dc47f1d..e9ea81baa053c8155b51d22901fd898356e3fc2c 100644 |
--- a/mojo/dart/packages/mojo_services/lib/mojo/net_address.mojom.dart |
+++ b/mojo/dart/packages/mojo_services/lib/mojo/net_address.mojom.dart |
@@ -8,6 +8,8 @@ import 'dart:async'; |
import 'package:mojo/bindings.dart' as bindings; |
import 'package:mojo/core.dart' as core; |
+import 'package:mojo/mojo/bindings/types/mojom_types.mojom.dart' as mojom_types; |
+ |
class NetAddressFamily extends bindings.MojoEnum { |
static const NetAddressFamily unspecified = const NetAddressFamily._(0); |
@@ -60,6 +62,8 @@ class NetAddressFamily extends bindings.MojoEnum { |
return 'NetAddressFamily.ipv4'; |
case ipv6: |
return 'NetAddressFamily.ipv6'; |
+ default: |
+ return null; |
} |
} |
@@ -68,6 +72,8 @@ class NetAddressFamily extends bindings.MojoEnum { |
+ |
+ |
class NetAddressIPv4 extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(24, 0) |
@@ -144,6 +150,8 @@ class NetAddressIPv4 extends bindings.Struct { |
} |
+ |
+ |
class NetAddressIPv6 extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(24, 0) |
@@ -220,6 +228,8 @@ class NetAddressIPv6 extends bindings.Struct { |
} |
+ |
+ |
class NetAddress extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(32, 0) |
@@ -311,3 +321,7 @@ class NetAddress extends bindings.Struct { |
} |
+ |
+ |
+ |
+ |