| Index: components/cast_certificate/cast_cert_validator_test_helpers.cc
|
| diff --git a/components/cast_certificate/cast_cert_validator_test_helpers.cc b/components/cast_certificate/cast_cert_validator_test_helpers.cc
|
| index a854abd8c185058a0ef64c4009b0872566d20a82..78c092b1e6ebcbdd58db013b0f52140a73537810 100644
|
| --- a/components/cast_certificate/cast_cert_validator_test_helpers.cc
|
| +++ b/components/cast_certificate/cast_cert_validator_test_helpers.cc
|
| @@ -13,6 +13,10 @@
|
|
|
| namespace testing {
|
|
|
| +namespace {
|
| +
|
| +// Reads a file from the test data directory
|
| +// (//src/components/test/data/cast_certificate)
|
| std::string ReadTestFileToString(const base::StringPiece& file_name) {
|
| base::FilePath filepath;
|
| PathService::Get(base::DIR_SOURCE_ROOT, &filepath);
|
| @@ -31,6 +35,8 @@
|
|
|
| return file_data;
|
| }
|
| +
|
| +} // namespace
|
|
|
| std::vector<std::string> ReadCertificateChainFromFile(
|
| const base::StringPiece& file_name) {
|
|
|