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

Unified Diff: chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastApplication.java

Issue 1181953002: Load non-locale .pak files directly from the .apk on Android (rather than extracting on start-up). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@raw-paks
Patch Set: Fix content_browsertests Created 5 years, 6 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 | « chromecast/app/cast_main_delegate.cc ('k') | chromecast/browser/cast_content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastApplication.java
diff --git a/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastApplication.java b/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastApplication.java
index a9b0c6fc256664b9daecd451e73a2dbbd1103c8d..1d10edd4cf92d46ba3f34406f7cea78747bf2355 100644
--- a/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastApplication.java
+++ b/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastApplication.java
@@ -24,9 +24,6 @@ import org.chromium.content.app.ContentApplication;
public class CastApplication extends ContentApplication {
private static final String TAG = "CastApplication";
- private static final String[] MANDATORY_PAK_FILES = new String[] {
- "cast_shell.pak",
- };
private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "cast_shell";
private static final String COMMAND_LINE_FILE = "/data/local/tmp/castshell-command-line";
@@ -37,7 +34,7 @@ public class CastApplication extends ContentApplication {
}
public static void initializeApplicationParameters(Context context) {
- ResourceExtractor.setMandatoryPaksToExtract(0, MANDATORY_PAK_FILES);
+ ResourceExtractor.setMandatoryPaksToExtract(0);
PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX, context);
}
« no previous file with comments | « chromecast/app/cast_main_delegate.cc ('k') | chromecast/browser/cast_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698