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

Unified Diff: chrome/browser/chrome_browser_main_android.cc

Issue 2894763002: Revert of Separate WebView's locale paks from Chrome's locale paks (Closed)
Patch Set: Created 3 years, 7 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/android/BUILD.gn ('k') | chrome/chrome_paks.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main_android.cc
diff --git a/chrome/browser/chrome_browser_main_android.cc b/chrome/browser/chrome_browser_main_android.cc
index 7c71f4f1c95032521e7184b07381f9bef3d46057..a5879bdb531fe394f01596208ead824ff3cc9390 100644
--- a/chrome/browser/chrome_browser_main_android.cc
+++ b/chrome/browser/chrome_browser_main_android.cc
@@ -80,6 +80,11 @@
crash_dump_dir, kAndroidMinidumpDescriptor));
}
+ // Auto-detect based on en-US whether locale .pak files are store uncompressed
+ // (monochrome) vs extracted (non-monochrome).
+ ui::SetLocalePaksStoredInApk(
+ !ui::GetPathForAndroidLocalePakWithinApk("en-US").empty());
+
return ChromeBrowserMainParts::PreCreateThreads();
}
« no previous file with comments | « chrome/android/BUILD.gn ('k') | chrome/chrome_paks.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698