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

Unified Diff: content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.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
Index: content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java
diff --git a/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java b/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java
index f97e6b030d315bcf33fa944f35bd291351f469c8..8cff2b165e05f29f406440f2888a8c62e3b9bfcd 100644
--- a/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java
+++ b/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java
@@ -16,9 +16,6 @@ import org.chromium.content.app.ContentApplication;
public class ContentShellApplication extends ContentApplication {
public static final String COMMAND_LINE_FILE = "/data/local/tmp/content-shell-command-line";
- private static final String[] MANDATORY_PAK_FILES = new String[] {
- "content_shell.pak",
- };
private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "content_shell";
@Override
@@ -28,7 +25,7 @@ public class ContentShellApplication extends ContentApplication {
@Override
protected void initializeLibraryDependencies() {
- ResourceExtractor.setMandatoryPaksToExtract(0, MANDATORY_PAK_FILES);
+ ResourceExtractor.setMandatoryPaksToExtract(0);
PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX, this);
}

Powered by Google App Engine
This is Rietveld 408576698