Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1336)

Unified Diff: content/test/test_content_client.cc

Issue 661503003: Revert of Eliminate silently letting errors pass on pak loading. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/test/test_content_client_initializer.cc ('k') | ui/base/resource/resource_bundle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_content_client.cc
diff --git a/content/test/test_content_client.cc b/content/test/test_content_client.cc
index 3465032c3856e847ae7d862975285556aa627005..0ccc8cf5838c07d5861a0d8ff39181ee71571b18 100644
--- a/content/test/test_content_client.cc
+++ b/content/test/test_content_client.cc
@@ -9,7 +9,6 @@
#include "base/logging.h"
#include "base/path_service.h"
#include "base/strings/string_piece.h"
-#include "ui/base/ui_base_paths.h"
namespace content {
@@ -19,7 +18,10 @@
#if !defined(OS_IOS)
base::FilePath content_shell_pack_path;
#if defined(OS_ANDROID)
- PathService::Get(ui::DIR_RESOURCE_PAKS_ANDROID, &content_shell_pack_path);
+ // on Android all pak files are inside the paks folder.
+ 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_shell_pack_path);
#endif
« no previous file with comments | « content/public/test/test_content_client_initializer.cc ('k') | ui/base/resource/resource_bundle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698