| Index: net/test/cert_test_util.cc
|
| diff --git a/net/test/cert_test_util.cc b/net/test/cert_test_util.cc
|
| index 8da3aecf2d4060ae27ba647a7f2e8e6dcf43ba60..2c22d84f29e79b0bf62991e03c535b66bca26ef5 100644
|
| --- a/net/test/cert_test_util.cc
|
| +++ b/net/test/cert_test_util.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/files/file_path.h"
|
| #include "base/files/file_util.h"
|
| +#include "base/threading/thread_restrictions.h"
|
| #include "net/cert/ev_root_ca_metadata.h"
|
| #include "net/cert/x509_certificate.h"
|
| #include "net/test/test_data_directory.h"
|
| @@ -63,6 +64,7 @@ scoped_refptr<X509Certificate> CreateCertificateChainFromFile(
|
| scoped_refptr<X509Certificate> ImportCertFromFile(
|
| const base::FilePath& certs_dir,
|
| const std::string& cert_file) {
|
| + base::ThreadRestrictions::ScopedAllowIO allow_io;
|
| base::FilePath cert_path = certs_dir.AppendASCII(cert_file);
|
| std::string cert_data;
|
| if (!base::ReadFileToString(cert_path, &cert_data))
|
|
|