Chromium Code Reviews

Unified Diff: content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestApplication.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.
Jump to:
View side-by-side diff with in-line comments
Index: content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestApplication.java
diff --git a/content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestApplication.java b/content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestApplication.java
index f4824273bd12c7f35a06f1aa269873b3830bacf1..a1d6482a211f2f2a0429dbbcf7a8c80f07bfae16 100644
--- a/content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestApplication.java
+++ b/content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestApplication.java
@@ -15,9 +15,6 @@ import org.chromium.base.ResourceExtractor;
*/
public class ChromiumLinkerTestApplication extends BaseChromiumApplication {
- private static final String[] MANDATORY_PAK_FILES = new String[] {
- "content_shell.pak",
- };
private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "chromium_linker_test";
@Override
@@ -27,7 +24,7 @@ public class ChromiumLinkerTestApplication extends BaseChromiumApplication {
}
public static void initializeApplicationParameters(Context context) {
- ResourceExtractor.setMandatoryPaksToExtract(0, MANDATORY_PAK_FILES);
+ ResourceExtractor.setMandatoryPaksToExtract(0);
PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX, context);
}

Powered by Google App Engine