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

Unified Diff: ui/base/resource/resource_bundle.cc

Issue 10802065: Android resource PAKs and native lib file path changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and address brettw@ comments. Created 8 years, 4 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 | « chrome/common/chrome_paths.cc ('k') | ui/base/resource/resource_bundle_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/resource/resource_bundle.cc
diff --git a/ui/base/resource/resource_bundle.cc b/ui/base/resource/resource_bundle.cc
index 5f98d0cb5a2ec9de346e71a576c82aff8a0a6780..7d2b2dc90e3ce08a52ffaa7e2a069c01fc5f2d1b 100644
--- a/ui/base/resource/resource_bundle.cc
+++ b/ui/base/resource/resource_bundle.cc
@@ -201,12 +201,7 @@ FilePath ResourceBundle::GetLocaleFilePath(const std::string& app_locale,
FilePath locale_file_path;
-#if defined(OS_ANDROID)
- PathService::Get(base::DIR_ANDROID_APP_DATA, &locale_file_path);
- locale_file_path = locale_file_path.Append(FILE_PATH_LITERAL("paks"));
-#else
PathService::Get(ui::DIR_LOCALES, &locale_file_path);
-#endif
if (!locale_file_path.empty())
locale_file_path = locale_file_path.AppendASCII(app_locale + ".pak");
« no previous file with comments | « chrome/common/chrome_paths.cc ('k') | ui/base/resource/resource_bundle_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698