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

Unified Diff: chrome/browser/lifetime/application_lifetime.h

Issue 1803143002: Replace BrowserProces::AddRefModule/RemoveModule by ScopedKeepAlive (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/browser/lifetime/application_lifetime.h
diff --git a/chrome/browser/lifetime/application_lifetime.h b/chrome/browser/lifetime/application_lifetime.h
index 77af41887a48c7d5d5dedb907e75346a0b54f677..1300b2204de9201b3ec5aba3d621aa2979c73135 100644
--- a/chrome/browser/lifetime/application_lifetime.h
+++ b/chrome/browser/lifetime/application_lifetime.h
@@ -58,8 +58,7 @@ void CloseAllBrowsers();
// If there are no browsers open and we aren't already shutting down,
// initiate a shutdown. Also skips shutdown if this is a unit test.
-// (MessageLoop::current() == null or explicitly disabled).
-void CloseAllBrowsersIfNeeded();
+void ShutdownIfNeeded();
// Begins shutdown of the application when the desktop session is ending.
void SessionEnding();

Powered by Google App Engine
This is Rietveld 408576698