// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/cert/known_roots.h" #include <string.h> #include <algorithm> #include "base/check_op.h" #include "net/base/hash_value.h" #include "net/cert/root_cert_list_generated.h" namespace net { namespace { // Comparator-predicate that serves as a < function for comparing a // RootCertData to a HashValue struct HashValueToRootCertDataComp { … }; const RootCertData* GetRootCertData(const HashValue& spki_hash) { … } } // namespace int32_t GetNetTrustAnchorHistogramIdForSPKI(const HashValue& spki_hash) { … } } // namespace net