diff options
author | agrieve <agrieve@chromium.org> | 2015-06-24 15:57:21 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-24 22:58:04 +0000 |
commit | 5f042d748484efcdac252f44469cb764c4decd3e (patch) | |
tree | c34a1e58de07a0ccb85bda58d1b9f588d79466a4 /components/test | |
parent | bc89440f413972f4ed19a23cc1c9ab1ce67e1e44 (diff) | |
download | chromium_src-5f042d748484efcdac252f44469cb764c4decd3e.zip chromium_src-5f042d748484efcdac252f44469cb764c4decd3e.tar.gz chromium_src-5f042d748484efcdac252f44469cb764c4decd3e.tar.bz2 |
Do not require explicit initialization of ResourceExtractor
It's used only for locale pack files now, so shouldn't require so much
attention.
This also removes the extraction args from
ComponentsBrowserTestsApplication.java, which don't appear to be
necessary
BUG=
Review URL: https://codereview.chromium.org/1181733004
Cr-Commit-Position: refs/heads/master@{#336020}
Diffstat (limited to 'components/test')
-rw-r--r-- | components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsApplication.java | 5 |
1 files changed, 0 insertions, 5 deletions
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 a8387ce..bb40f1f 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); } } |