Chromium Code Reviews| Index: content/test/test_content_client.cc |
| diff --git a/content/test/test_content_client.cc b/content/test/test_content_client.cc |
| index abd1aeadf7bfcae0f69ff5158750ef15c21ec8b6..0637ea7f71d27df119226fa29989c1748cb8a657 100644 |
| --- a/content/test/test_content_client.cc |
| +++ b/content/test/test_content_client.cc |
| @@ -14,21 +14,18 @@ namespace content { |
| TestContentClient::TestContentClient() |
| : data_pack_(ui::SCALE_FACTOR_100P) { |
| - // content_resources.pak is not built on iOS as it is not required. |
| -#if !defined(OS_IOS) |
| - base::FilePath content_resources_pack_path; |
| + base::FilePath content_shell_pack_path; |
| #if defined(OS_ANDROID) |
| // on Android all pak files are inside the paks folder. |
| - PathService::Get(base::DIR_ANDROID_APP_DATA, &content_resources_pack_path); |
| - content_resources_pack_path = content_resources_pack_path.Append( |
| + PathService::Get(base::DIR_ANDROID_APP_DATA, &content_shell_pack_path); |
| + content_shell_pack_path = content_shell_pack_path.Append( |
| FILE_PATH_LITERAL("paks")); |
| #else |
| - PathService::Get(base::DIR_MODULE, &content_resources_pack_path); |
| -#endif |
| - content_resources_pack_path = content_resources_pack_path.Append( |
| - FILE_PATH_LITERAL("content_resources.pak")); |
| - data_pack_.LoadFromPath(content_resources_pack_path); |
| + PathService::Get(base::DIR_MODULE, &content_shell_pack_path); |
| #endif |
| + content_shell_pack_path = content_shell_pack_path.Append( |
| + FILE_PATH_LITERAL("content_shell.pak")); |
|
jochen (gone - plz use gerrit)
2014/09/03 08:26:37
does this target depend on whatever target creates
vivekg
2014/09/03 08:55:16
Oh thats a good catch. Its not depending on the co
|
| + data_pack_.LoadFromPath(content_shell_pack_path); |
| } |
| TestContentClient::~TestContentClient() { |