// 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. #ifndef SERVICES_NETWORK_IGNORE_ERRORS_CERT_VERIFIER_H_ #define SERVICES_NETWORK_IGNORE_ERRORS_CERT_VERIFIER_H_ #include <memory> #include <vector> #include "base/command_line.h" #include "base/component_export.h" #include "net/base/completion_once_callback.h" #include "net/cert/cert_verifier.h" #include "services/network/public/cpp/spki_hash_set.h" namespace network { // IgnoreErrorsCertVerifier wraps another CertVerifier in order to ignore // verification errors from certificate chains that match a allowlist of SPKI // fingerprints. class COMPONENT_EXPORT(NETWORK_SERVICE) IgnoreErrorsCertVerifier : public net::CertVerifier { … }; } // namespace network #endif // SERVICES_NETWORK_IGNORE_ERRORS_CERT_VERIFIER_H_