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

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: Address comments 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..051d38e14fa4b22976f60422c8969543409d2bcb 100644
--- a/chrome/browser/lifetime/application_lifetime.h
+++ b/chrome/browser/lifetime/application_lifetime.h
@@ -57,9 +57,8 @@ void CloseAllBrowsersAndQuit();
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();
+// initiate a shutdown.
+void ShutdownIfNeeded();
// Begins shutdown of the application when the desktop session is ending.
void SessionEnding();
@@ -81,9 +80,6 @@ void OnAppExiting();
// Called once the application is exiting to do any platform specific
// processing required.
void HandleAppExitingForPlatform();
-
-// Disable browser shutdown for unit tests.
-void DisableShutdownForTesting(bool disable_shutdown_for_testing);
#endif // !defined(OS_ANDROID)
} // namespace chrome
« no previous file with comments | « chrome/browser/extensions/api/preference/preference_apitest.cc ('k') | chrome/browser/lifetime/application_lifetime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698