commit | dd2307b867ec6007427db4912d97c1f54f439206 | [log] [tgz] |
---|---|---|
author | Steven Bingler <[email protected]> | Tue Aug 27 20:44:36 2019 |
committer | Commit Bot <[email protected]> | Tue Aug 27 20:44:36 2019 |
tree | 43161c2cfe48f050530039f3a52e9874716f7860 | |
parent | 9aea3a28bf8006b804dfc92367dac39568178212 [diff] [blame] |
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