Index: net/interfaces/proxy_resolver_service.mojom |
diff --git a/net/interfaces/proxy_resolver_service.mojom b/net/interfaces/proxy_resolver_service.mojom |
index 2ae84e14e8fa140a758e1b45c68aa51fb209f7e8..ff343de9a2dc2262c59e9882b6e980e99146292b 100644 |
--- a/net/interfaces/proxy_resolver_service.mojom |
+++ b/net/interfaces/proxy_resolver_service.mojom |
@@ -26,10 +26,14 @@ struct ProxyServer { |
ProxyScheme scheme; |
// |host| and |port| are only valid if |scheme| is not INVALID or DIRECT. |
- string? host; |
+ string host; |
uint16 port; |
}; |
+struct ProxyInfo { |
+ array<ProxyServer> proxy_servers; |
+}; |
+ |
interface ProxyResolver { |
// Use a ProxyResolverRequestClient instead of returning a result so we can |
// cancel in-flight requests by destroying the client. |
@@ -37,7 +41,7 @@ interface ProxyResolver { |
}; |
interface ProxyResolverRequestClient { |
- ReportResult(int32 error, array<ProxyServer>? proxy_servers); |
+ ReportResult(int32 error, ProxyInfo proxy_info); |
Alert(string error); |
OnError(int32 line_number, string error); |