Clean up dns_utils.
Add all members to chrome_browser_net namespace.
Change IsValidDohTemplate() name to be DoH specific.

Change-Id: I68cf5d2ce3a987b2e0f000ebd125a4ef490d7237
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1764899
Commit-Queue: Steven Bingler <[email protected]>
Reviewed-by: Eric Orth <[email protected]>
Cr-Commit-Position: refs/heads/master@{#690874}
diff --git a/chrome/browser/net/dns_util.cc b/chrome/browser/net/dns_util.cc
index 8c0f653..42261d6 100644
--- a/chrome/browser/net/dns_util.cc
+++ b/chrome/browser/net/dns_util.cc
@@ -14,7 +14,9 @@
 #include "base/enterprise_util.h"
 #endif
 
-bool IsValidDoHTemplate(const std::string& server_template,
+namespace chrome_browser_net {
+
+bool IsValidDohTemplate(const std::string& server_template,
                         std::string* server_method) {
   std::string url_string;
   std::string test_query = "this_is_a_test_query";
@@ -54,3 +56,4 @@
 #endif
   return false;
 }
+}  // namespace chrome_browser_net