Create new //net/dns/public directory/target
This will hold all the simple host resolution code intended long-term
(post-servicification) for direct non-test access outside the network
stack and service. For now, moving over dns_protocol.h and
dns_util::IsValidDoHTemplate(), two items currently used externally
that do not make sense to servicify. Will likely move over more in
subsequent CLs.
Similar to when //net/dns targets were split off from //net, no attempt
was made to detangle circular dependencies with //net.
Bug: 846454
Change-Id: I7cc209240f1c6f5ae2789c56faefb20662366230
Reviewed-on: https://chromium-review.googlesource.com/c/1320516
Reviewed-by: Bailey Berro <[email protected]>
Reviewed-by: Lei Zhang <[email protected]>
Reviewed-by: Matt Menke <[email protected]>
Commit-Queue: Eric Orth <[email protected]>
Cr-Commit-Position: refs/heads/master@{#606155}
diff --git a/net/dns/BUILD.gn b/net/dns/BUILD.gn
index f8b78ce..0b0ed42 100644
--- a/net/dns/BUILD.gn
+++ b/net/dns/BUILD.gn
@@ -290,7 +290,6 @@
if (!is_nacl) {
sources += [
"dns_client.h",
- "dns_protocol.h",
"dns_response.h",
"dns_transaction.h",
"record_parsed.h",
@@ -303,6 +302,7 @@
]
public_deps = [
"//net:net_public_deps",
+ "//net/dns/public",
]
}