| Index: net/base/dns_util.cc
|
| diff --git a/net/base/dns_util.cc b/net/base/dns_util.cc
|
| index 5d47d4b8b5a4ac57720703927141788f1d5eceb5..c095eb80ad6cd49bb0e61d8c9c9f9eafdfc48e3d 100644
|
| --- a/net/base/dns_util.cc
|
| +++ b/net/base/dns_util.cc
|
| @@ -80,20 +80,6 @@ std::string DNSDomainToString(const base::StringPiece& domain) {
|
| return ret;
|
| }
|
|
|
| -bool IsSTD3ASCIIValidCharacter(char c) {
|
| - if (c <= 0x2c)
|
| - return false;
|
| - if (c >= 0x7b)
|
| - return false;
|
| - if (c >= 0x2e && c <= 0x2f)
|
| - return false;
|
| - if (c >= 0x3a && c <= 0x40)
|
| - return false;
|
| - if (c >= 0x5b && c <= 0x60)
|
| - return false;
|
| - return true;
|
| -}
|
| -
|
| std::string TrimEndingDot(const base::StringPiece& host) {
|
| base::StringPiece host_trimmed = host;
|
| size_t len = host_trimmed.length();
|
|
|