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

Unified Diff: components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsApplication.java

Issue 1181733004: Do not require explicit initialization of ResourceExtractor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@split-lang
Patch Set: rebase 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: components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsApplication.java
diff --git a/components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsApplication.java b/components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsApplication.java
index a8387ce9f64f799c6a38b661f2141af3ef31b8c9..bb40f1ff68e5f96335c08271444954196fd85737 100644
--- a/components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsApplication.java
+++ b/components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsApplication.java
@@ -8,15 +8,11 @@ import android.content.Context;
import org.chromium.base.BaseChromiumApplication;
import org.chromium.base.PathUtils;
-import org.chromium.base.ResourceExtractor;
/**
* A basic content browser tests {@link android.app.Application}.
*/
public class ComponentsBrowserTestsApplication extends BaseChromiumApplication {
- private static final String[] MANDATORY_PAK_FILES =
- new String[] {"components_tests_resources.pak", "content_shell.pak", "natives_blob.bin",
- "snapshot_blob.bin"};
static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "components_shell";
@Override
@@ -26,7 +22,6 @@ public class ComponentsBrowserTestsApplication extends BaseChromiumApplication {
}
public static void initializeApplicationParameters(Context context) {
- ResourceExtractor.setMandatoryPaksToExtract(0, MANDATORY_PAK_FILES);
PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX, context);
}
}

Powered by Google App Engine
This is Rietveld 408576698