| Index: net/test/test_data_directory.cc
|
| diff --git a/net/test/test_data_directory.cc b/net/test/test_data_directory.cc
|
| index b35392407bb2724cdc95d01aedbfa9b71930be6b..48aa3590e44cae473428173849f51d126316c619 100644
|
| --- a/net/test/test_data_directory.cc
|
| +++ b/net/test/test_data_directory.cc
|
| @@ -13,6 +13,8 @@ namespace net {
|
| namespace {
|
| const base::FilePath::CharType kCertificateRelativePath[] =
|
| FILE_PATH_LITERAL("net/data/ssl/certificates");
|
| +const base::FilePath::CharType kServerPushResourcesRelativePath[] =
|
| + FILE_PATH_LITERAL("net/data/quic_http_response_cache_data_with_push");
|
| } // namespace
|
|
|
| base::FilePath GetTestCertsDirectory() {
|
| @@ -25,6 +27,16 @@ base::FilePath GetTestCertsDirectory() {
|
| return src_root.Append(kCertificateRelativePath);
|
| }
|
|
|
| +base::FilePath GetServerPushResourceDirectory() {
|
| + base::FilePath src_root;
|
| + {
|
| + base::ThreadRestrictions::ScopedAllowIO allow_io_for_path_service;
|
| + PathService::Get(base::DIR_SOURCE_ROOT, &src_root);
|
| + }
|
| +
|
| + return src_root.Append(kServerPushResourcesRelativePath);
|
| +}
|
| +
|
| base::FilePath GetTestClientCertsDirectory() {
|
| #if defined(OS_ANDROID)
|
| return base::FilePath(kCertificateRelativePath);
|
|
|