cros_network_config fixes to required properties and policy indicators
In C++ mojo uses StructPtr for embedded structs, regardless of whether they are required, so it is possible to pass 'nullptr' for required properties, causing a runtime error when the properties are received. This CL: * Ensures that required ManagedString properties are provided in the C++ code, and fixes the set of properties provided for VPNs based on type. * Fixes some CSS causing incorrect indicators, and cleans up some logic in the JS. Bug: 1008230 Change-Id: I51484fc74e672b7b8434228abd219428461b92f0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1824320 Commit-Queue: Steven Bennetts <stevenjb@chromium.org> Reviewed-by:Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#700060}
Showing
Please register or sign in to comment