Add optional parameters struct to DNS Mojo API.
Everything in the struct should have a reasonable default value and the struct param itself is optional. Added DNS qtype and initial priority parameters. Qtype uses a new mojo enum with mojo EnumTraits to convert to and from the net::HostResolver enum. RequestPriority already has a mojoified version in the network service. Also moved the control handle parameter to the new struct as it is an optional parameter. Bug: 821021 Cq-Include-Trybots: luci.chromium.try:linux_mojo Change-Id: I1b1b9e6d77d23216b210b56885b426bc2b710155 Reviewed-on: https://chromium-review.googlesource.com/1173337 Commit-Queue: Eric Orth <ericorth@chromium.org> Reviewed-by:Tom Sepez <tsepez@chromium.org> Reviewed-by:
Helen Li <xunjieli@chromium.org> Cr-Commit-Position: refs/heads/master@{#583518}
Showing
This diff is collapsed.
Please register or sign in to comment