Add a struct of optional params to net/ host resolution API.
Everything in the struct should have a reasonable default value and the struct param itself is optional using base::Optional. Include DNS qtype and initial priority support in the new parameter. Lots of tests added in now that qtype and priority are supported by the new API. I'll add a similar struct of optional params to the mojo API in the next CL. Bug: 821021 Cq-Include-Trybots: luci.chromium.try:linux_mojo;master.tryserver.chromium.android:android_cronet_tester;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: I4b628364e53f1c3fdf34819071b6562eaedc9c14 Reviewed-on: https://chromium-review.googlesource.com/1171574 Commit-Queue: Eric Orth <ericorth@chromium.org> Reviewed-by:Helen Li <xunjieli@chromium.org> Cr-Commit-Position: refs/heads/master@{#583418}
Showing
This diff is collapsed.
Please register or sign in to comment