chromium/components/media_router/common/providers/cast/certificate/cast_cert_test_helpers.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/media_router/common/providers/cast/certificate/cast_cert_test_helpers.h"

#include <string_view>

#include "base/base_paths.h"
#include "base/files/file_util.h"
#include "base/logging.h"
#include "base/no_destructor.h"
#include "base/path_service.h"
#include "base/threading/thread_restrictions.h"
#include "components/media_router/common/providers/cast/certificate/cast_cert_reader.h"
#include "components/media_router/common/providers/cast/certificate/cast_trust_store.h"
#include "net/cert/x509_util.h"
#include "third_party/boringssl/src/pki/cert_errors.h"
#include "third_party/boringssl/src/pki/pem.h"

namespace cast_certificate {
namespace testing {

namespace {

base::FilePath GetCastCertificateDirectoryFromPathService() {}

base::FilePath GetCastCertificatesSubDirectoryFromPathService() {}

}  // namespace

const base::FilePath& GetCastCertificateDirectory() {}

const base::FilePath& GetCastCertificatesSubDirectory() {}

SignatureTestData ReadSignatureTestData(std::string_view file_name) {}

base::Time ConvertUnixTimestampSeconds(uint64_t time) {}

std::unique_ptr<bssl::TrustStoreInMemory> LoadTestCert(
    std::string_view cert_file_name) {}

// static
std::atomic_flag ScopedCastTrustStoreConfig::in_use_ =;

void ScopedCastTrustStoreConfig::SetInUse() {}

std::unique_ptr<ScopedCastTrustStoreConfig>
ScopedCastTrustStoreConfig::BuiltInCertificates() {}

std::unique_ptr<ScopedCastTrustStoreConfig>
ScopedCastTrustStoreConfig::TestCertificates(std::string_view cert_file_name) {}

std::unique_ptr<ScopedCastTrustStoreConfig>
ScopedCastTrustStoreConfig::BuiltInAndTestCertificates(
    std::string_view cert_file_name) {}

ScopedCastTrustStoreConfig::~ScopedCastTrustStoreConfig() {}

}  // namespace testing
}  // namespace cast_certificate