forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modernize host resolution in proxy mojo resolve
Updated the resolve implementation in mojo_host_resolver_impl.cc to use the newer HostResolver::CreateRequest() API. Updated the mojo API to no longer use a serialized version of the deprecated RequestInfo struct. As this mojo API is only used by one special-purpose caller (HostResolverMojo), reduced parameters down to just those parameters (hostname and an operation enum) used by that one caller. Also reduced the output of the mojo API down to just an array of IPAddress as that is all that is used by the one caller. Bug: 922699 Change-Id: Idec52470363981a34c8741a2012cb6eab218ffdb Reviewed-on: https://chromium-review.googlesource.com/c/1446780 Commit-Queue: John Abd-El-Malek <jam@chromium.org> Reviewed-by: John Abd-El-Malek <jam@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Maks Orlovich <morlovich@chromium.org> Auto-Submit: Eric Orth <ericorth@chromium.org> Cr-Commit-Position: refs/heads/master@{#634377}
- Loading branch information
Eric Orth
authored and
Commit Bot
committed
Feb 21, 2019
1 parent
d30e1d3
commit 0f20559
Showing
17 changed files
with
227 additions
and
340 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.