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

Unified Diff: net/interfaces/host_resolver_service.mojom

Issue 2675033002: [Media Router] Add MediaSink subtypes (Closed)
Patch Set: resolve code review comments from dcheng Created 3 years, 9 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
« net/dns/mojo_host_struct_traits.h ('K') | « net/dns/mojo_host_struct_traits.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/interfaces/host_resolver_service.mojom
diff --git a/net/interfaces/host_resolver_service.mojom b/net/interfaces/host_resolver_service.mojom
index adcdca4d8a6cd16ea71b4f69c225aa1c7e1e3530..be6efc4356a3c00aaacb922b91bf2cb6da9d3d14 100644
--- a/net/interfaces/host_resolver_service.mojom
+++ b/net/interfaces/host_resolver_service.mojom
@@ -27,6 +27,13 @@ struct HostResolverRequestInfo {
bool is_my_ip_address;
};
+// Mirror of net::IPAddress.
+struct IPAddress {
+ // IP address as a numeric value from most to least significant byte.
+ // Will be of length 4 for IPv4 addresses and 16 for IPv6.
+ array<uint8> address;
+};
+
// Mirror of net::IPEndPoint.
struct IPEndPoint {
// IP address as a numeric value from most to least significant byte.
« net/dns/mojo_host_struct_traits.h ('K') | « net/dns/mojo_host_struct_traits.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698