| Index: net/base/ssl_test_util.cc
|
| diff --git a/net/base/ssl_test_util.cc b/net/base/ssl_test_util.cc
|
| index 18e390522ad33e8b617fd3aeaa8dc99f619bb41b..d22e4fd8b4aa3da35fe7508bed6e381c7c51e40e 100644
|
| --- a/net/base/ssl_test_util.cc
|
| +++ b/net/base/ssl_test_util.cc
|
| @@ -80,10 +80,10 @@ static CERTCertificate* LoadTemporaryCert(const FilePath& filename) {
|
|
|
| SSLTestUtil::SSLTestUtil() {
|
| PathService::Get(base::DIR_SOURCE_ROOT, &cert_dir_);
|
| - cert_dir_ = cert_dir_.Append(FILE_PATH_LITERAL("net"));
|
| - cert_dir_ = cert_dir_.Append(FILE_PATH_LITERAL("data"));
|
| - cert_dir_ = cert_dir_.Append(FILE_PATH_LITERAL("ssl"));
|
| - cert_dir_ = cert_dir_.Append(FILE_PATH_LITERAL("certificates"));
|
| + cert_dir_ = cert_dir_.AppendASCII("net");
|
| + cert_dir_ = cert_dir_.AppendASCII("data");
|
| + cert_dir_ = cert_dir_.AppendASCII("ssl");
|
| + cert_dir_ = cert_dir_.AppendASCII("certificates");
|
|
|
| #if defined(OS_LINUX)
|
| cert_ = reinterpret_cast<PrivateCERTCertificate*>(
|
| @@ -101,19 +101,19 @@ SSLTestUtil::~SSLTestUtil() {
|
|
|
| FilePath SSLTestUtil::GetRootCertPath() {
|
| FilePath path(cert_dir_);
|
| - path = path.Append(FILE_PATH_LITERAL("root_ca_cert.crt"));
|
| + path = path.AppendASCII("root_ca_cert.crt");
|
| return path;
|
| }
|
|
|
| FilePath SSLTestUtil::GetOKCertPath() {
|
| FilePath path(cert_dir_);
|
| - path = path.Append(FILE_PATH_LITERAL("ok_cert.pem"));
|
| + path = path.AppendASCII("ok_cert.pem");
|
| return path;
|
| }
|
|
|
| FilePath SSLTestUtil::GetExpiredCertPath() {
|
| FilePath path(cert_dir_);
|
| - path = path.Append(FILE_PATH_LITERAL("expired_cert.pem"));
|
| + path = path.AppendASCII("expired_cert.pem");
|
| return path;
|
| }
|
|
|
|
|