#include "net/cert/internal/system_trust_store.h"
#include "net/cert/x509_certificate.h"
#include "net/cert/x509_util.h"
#include "net/net_buildflags.h"
#include "net/test/cert_test_util.h"
#include "net/test/test_data_directory.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/boringssl/src/pki/parsed_certificate.h"
#include "third_party/boringssl/src/pki/trust_store.h"
#if BUILDFLAG(CHROME_ROOT_STORE_SUPPORTED)
#include <vector>
#include "net/cert/internal/platform_trust_store.h"
#include "net/cert/internal/trust_store_chrome.h"
#endif
namespace net {
#if BUILDFLAG(CHROME_ROOT_STORE_SUPPORTED)
#include "net/data/ssl/chrome_root_store/chrome-root-store-test-data-inc.cc"
class TestPlatformTrustStore : public PlatformTrustStore { … };
TEST(SystemTrustStoreChrome, SystemDistrustOverridesChromeTrust) { … }
TEST(SystemTrustStoreChrome, SystemLeafTrustDoesNotOverrideChromeTrust) { … }
#endif
}