blob: b7e4642854a0e0c46e005835682632c832d55997 [file] [log] [blame]
QUICHE teama6ef0a62019-03-07 20:34:33 -05001// 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
7namespace quic {
8
9// static
10bool QuicHostnameUtils::IsValidSNI(QuicStringPiece sni) {
11 return QuicHostnameUtilsImpl::IsValidSNI(sni);
12}
13
14// static
vasilvvc48c8712019-03-11 13:38:16 -070015std::string QuicHostnameUtils::NormalizeHostname(QuicStringPiece hostname) {
QUICHE teama6ef0a62019-03-07 20:34:33 -050016 return QuicHostnameUtilsImpl::NormalizeHostname(hostname);
17}
18
19} // namespace quic