Searched refs:canonicalized_host (Results 1 – 3 of 3) sorted by relevance
33 static std::string HashHost(const std::string& canonicalized_host) { in HashHost() argument35 crypto::SHA256HashString(canonicalized_host, hashed, sizeof(hashed)); in HashHost()41 const std::string canonicalized_host = CanonicalizeHost(host); in EnableHost() local42 if (canonicalized_host.empty()) in EnableHost()49 if (IsPreloadedSTS(canonicalized_host, true, &temp)) in EnableHost()62 enabled_hosts_[HashHost(canonicalized_host)] = state_copy; in EnableHost()67 const std::string canonicalized_host = CanonicalizeHost(host); in DeleteHost() local68 if (canonicalized_host.empty()) in DeleteHost()72 HashHost(canonicalized_host)); in DeleteHost()90 const std::string canonicalized_host = CanonicalizeHost(host); in IsEnabledForHost() local[all …]
127 static bool IsPreloadedSTS(const std::string& canonicalized_host,
285 const std::string canonicalized_host(net::CanonicalizeHost(UTF16ToUTF8(host), in Parse() local288 !net::IsCanonicalizedHostCompliant(canonicalized_host, in Parse()