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

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

Issue 1521013002: Make the ChromeBrowserInitializer the only way to start the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yfriedman@ comment Created 5 years 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/init/AsyncInitializationActivity.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/init/AsyncInitializationActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/init/AsyncInitializationActivity.java
index fadf50d725f32ec5f98d018539bfe1c1dfa2386b..bb851b9379f6ca826882c74b19753bd77a4f15a6 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/init/AsyncInitializationActivity.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/init/AsyncInitializationActivity.java
@@ -259,7 +259,11 @@ public abstract class AsyncInitializationActivity extends AppCompatActivity impl
@Override
public final void onCreateWithNative() {
- ChromeBrowserInitializer.getInstance(this).handlePostNativeStartup(this);
+ try {
+ ChromeBrowserInitializer.getInstance(this).handlePostNativeStartup(true, this);
+ } catch (ProcessInitException e) {
+ ChromeApplication.reportStartupErrorAndExit(e);
+ }
}
@Override

Powered by Google App Engine
This is Rietveld 408576698