Index: chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastApplication.java |
diff --git a/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java b/chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastApplication.java |
similarity index 55% |
copy from content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java |
copy to chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastApplication.java |
index b068ea0cfcc032b95f68803f66080def0df8d1f4..be3baf1497048b028231e30c38f3418a9b3d0eb3 100644 |
--- a/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java |
+++ b/chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastApplication.java |
@@ -1,29 +1,25 @@ |
-// Copyright 2012 The Chromium Authors. All rights reserved. |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-package org.chromium.content_shell_apk; |
+package org.chromium.chromecast.shell; |
import org.chromium.base.PathUtils; |
import org.chromium.content.app.ContentApplication; |
import org.chromium.content.browser.ResourceExtractor; |
/** |
- * Entry point for the content shell application. Handles initialization of information that needs |
+ * Entry point for the media 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 ContentShellApplication 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 = "content_shell"; |
+public class CastApplication extends ContentApplication { |
+ |
+ 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() { |