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

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

Issue 2297193003: Extract browser shared class initialization from ChromeApplication. (Closed)
Patch Set: Moar test fixes Created 4 years, 3 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/customtabs/CustomTabsConnectionService.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnectionService.java b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnectionService.java
index 538de539f1a9a95fb486fc9df211a16df3e557d5..5f19e6e1ec9bb09ddeb368c783c1fc4c8cee33f3 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnectionService.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnectionService.java
@@ -14,6 +14,7 @@ import android.support.customtabs.CustomTabsSessionToken;
import org.chromium.chrome.browser.IntentHandler;
import org.chromium.chrome.browser.IntentHandler.ExternalAppId;
import org.chromium.chrome.browser.firstrun.FirstRunFlowSequencer;
+import org.chromium.chrome.browser.init.ProcessInitializationHandler;
import java.util.List;
@@ -25,6 +26,12 @@ public class CustomTabsConnectionService extends CustomTabsService {
private Intent mBindIntent;
@Override
+ public void onCreate() {
+ ProcessInitializationHandler.getInstance().initializePreNative();
+ super.onCreate();
+ }
+
+ @Override
public IBinder onBind(Intent intent) {
mBindIntent = intent;
mConnection = CustomTabsConnection.getInstance(getApplication());

Powered by Google App Engine
This is Rietveld 408576698