Index: chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastApplication.java |
diff --git a/content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestApplication.java b/chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastApplication.java |
similarity index 54% |
copy from content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestApplication.java |
copy to chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastApplication.java |
index 89e73621f41d4551193aa1a8f6ed7e1f05ff589e..1360dab2be6443a3d1f218cb8acf2a4245ab2217 100644 |
--- a/content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestApplication.java |
+++ b/chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastApplication.java |
@@ -2,29 +2,24 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-package org.chromium.chromium_linker_test_apk; |
- |
-import android.app.Application; |
+package org.chromium.chromecast.shell; |
import org.chromium.base.PathUtils; |
+import org.chromium.content.app.ContentApplication; |
import org.chromium.content.browser.ResourceExtractor; |
/** |
- * Application for testing the Chromium Linker |
+ * Entry point for the Android cast shell application. Handles initialization of information that |
+ * needs to be shared across the main activity and the child services created. |
+ * |
+ * Note that this gets run for each process, including sandboxed child render processes. Child |
+ * processes don't need most of the full "setup" performed in CastBrowserHelper.java, but they do |
+ * require a few basic pieces (found here). |
*/ |
-public class ChromiumLinkerTestApplication extends Application { |
+public class CastApplication extends ContentApplication { |
- /** |
- * icudtl.dat provides ICU (i18n library) with all the data for its |
- * operation. We use to link it statically to our binary, but not any more |
- * so that we have to install it along with other mandatory pak files. |
- * See src/third_party/icu/README.chromium. |
- */ |
- private static final String[] MANDATORY_PAK_FILES = new String[] { |
- "content_shell.pak", |
- "icudtl.dat" |
- }; |
- private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "chromium_linker_test"; |
+ private static final String[] MANDATORY_PAK_FILES = new String[] {"cast_shell.pak"}; |
+ private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "cast_shell"; |
@Override |
public void onCreate() { |