QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 1 | // Copyright (c) 2017 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "net/third_party/quiche/src/quic/platform/api/quic_hostname_utils.h" |
| 6 | |
| 7 | namespace quic { |
| 8 | |
| 9 | // static |
| 10 | bool QuicHostnameUtils::IsValidSNI(QuicStringPiece sni) { |
| 11 | return QuicHostnameUtilsImpl::IsValidSNI(sni); |
| 12 | } |
| 13 | |
| 14 | // static |
vasilvv | c48c871 | 2019-03-11 13:38:16 -0700 | [diff] [blame] | 15 | std::string QuicHostnameUtils::NormalizeHostname(QuicStringPiece hostname) { |
QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 16 | return QuicHostnameUtilsImpl::NormalizeHostname(hostname); |
| 17 | } |
| 18 | |
| 19 | } // namespace quic |