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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java

Issue 2371843002: Reland of Move language pak files to assets. (Closed)
Patch Set: Fix ContentShell context setPrivateDataPrefix that was breaking tests Created 4 years, 2 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: chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java
index 04fcc20a57f935529e4efe45fab93877d575006b..9da328e7472ed21a9d1c9d7b6bd7d8c49717e45c 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java
@@ -17,13 +17,11 @@ import org.chromium.base.ApiCompatibilityUtils;
import org.chromium.base.ApplicationStatus;
import org.chromium.base.CommandLineInitUtil;
import org.chromium.base.ContextUtils;
-import org.chromium.base.ResourceExtractor;
import org.chromium.base.ThreadUtils;
import org.chromium.base.TraceEvent;
import org.chromium.base.annotations.CalledByNative;
import org.chromium.base.annotations.SuppressFBWarnings;
import org.chromium.base.library_loader.ProcessInitException;
-import org.chromium.chrome.R;
import org.chromium.chrome.browser.banners.AppDetailsDelegate;
import org.chromium.chrome.browser.customtabs.CustomTabsConnection;
import org.chromium.chrome.browser.datausage.ExternalDataUseObserver;
@@ -69,7 +67,6 @@ import org.chromium.content.browser.ChildProcessCreationParams;
import org.chromium.policy.AppRestrictionsProvider;
import org.chromium.policy.CombinedPolicyProvider;
import org.chromium.printing.PrintingController;
-import org.chromium.ui.base.ResourceBundle;
/**
* Basic application functionality that should be shared among all browser applications that use
@@ -159,14 +156,6 @@ public class ChromeApplication extends ContentApplication {
}
@Override
- protected void initializeLibraryDependencies() {
- // The ResourceExtractor is only needed by the browser process, but this will have no
- // impact on the renderer process construction.
- ResourceBundle.initializeLocalePaks(this, R.array.locale_paks);
- ResourceExtractor.setResourcesToExtract(ResourceBundle.getActiveLocaleResources());
- }
-
- @Override
public void initCommandLine() {
CommandLineInitUtil.initCommandLine(this, COMMAND_LINE_FILE);
}

Powered by Google App Engine
This is Rietveld 408576698