#include "quiche/common/platform/api/quiche_hostname_utils.h"
#include <string>
#include "absl/strings/string_view.h"
#include "quiche/common/platform/api/quiche_googleurl.h"
#include "quiche/common/platform/api/quiche_logging.h"
namespace quiche {
namespace {
std::string CanonicalizeHost(absl::string_view host,
url::CanonHostInfo* host_info) { … }
bool IsHostCharAlphanumeric(char c) { … }
bool IsCanonicalizedHostCompliant(const std::string& host) { … }
}
bool QuicheHostnameUtils::IsValidSNI(absl::string_view sni) { … }
std::string QuicheHostnameUtils::NormalizeHostname(absl::string_view hostname) { … }
}