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

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

Issue 2649773007: Destroy incognito profile from close all incognito notification. (Closed)
Patch Set: Rebase 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 8f06eb5736ed8ff1bc5e21a90902fdb87de55144..3836fdae308dd0b8998ffeb6b138053c3bbe319b 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
@@ -226,6 +226,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