Add support for direct lookup resolver in NetworkServiceTest

While content::TestHostResolver simulates failure for non-local DNS
queries, some tests explicitly allow external DNS lookup using

With kNetworkService feature enabled, appropriate host resolver rule
must be propagated to network process.

Change-Id: Icc6eb96a8ea346d408d04d23feb363789a1c5c97
Reviewed-by: John Abd-El-Malek <>
Reviewed-by: Greg Kerr <>
Commit-Queue: Tomasz Moniuszko <>
Cr-Commit-Position: refs/heads/master@{#644706}
3 files changed