blob: 97ffff9fc2495b3a2b4c63657511527e1efc3fe8 [file] [log] [blame]
// Copyright (c) 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/third_party/quic/platform/api/quic_hostname_utils.h"
using std::string;
namespace quic {
// static
bool QuicHostnameUtils::IsValidSNI(QuicStringPiece sni) {
return QuicHostnameUtilsImpl::IsValidSNI(sni);
}
// static
char* QuicHostnameUtils::NormalizeHostname(char* hostname) {
return QuicHostnameUtilsImpl::NormalizeHostname(hostname);
}
} // namespace quic