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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java

Issue 2658213003: Revert "Revert of Destroy incognito profile from close all incognito notification. (patchset #1 id:… (Closed)
Patch Set: Fix compilation from signature change on branch Created 3 years, 11 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
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/incognito/IncognitoNotificationService.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java b/content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java
index f24d6b85549df91a6692da377afaf1bfb0f98367..af14cc514a7698b96b0db01806417d268e50c74a 100644
--- a/content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java
+++ b/content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java
@@ -233,6 +233,14 @@ public class BrowserStartupController {
return ContentMain.start();
}
+ /**
+ * @return Whether the browser process completed successfully.
+ */
+ public boolean isStartupSuccessfullyCompleted() {
+ ThreadUtils.assertOnUiThread();
+ return mStartupDone && mStartupSuccess;
+ }
+
public void addStartupCompletedObserver(StartupCallback callback) {
ThreadUtils.assertOnUiThread();
if (mStartupDone) {
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/incognito/IncognitoNotificationService.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698