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 #include "absl/strings/string_view.h" 7 8 namespace quic { 9 10 // static IsValidSNI(absl::string_view sni)11bool QuicHostnameUtils::IsValidSNI(absl::string_view sni) { 12 return QuicHostnameUtilsImpl::IsValidSNI(sni); 13 } 14 15 // static NormalizeHostname(absl::string_view hostname)16std::string QuicHostnameUtils::NormalizeHostname(absl::string_view hostname) { 17 return QuicHostnameUtilsImpl::NormalizeHostname(hostname); 18 } 19 20 } // namespace quic 21