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

Unified Diff: chrome/browser/app_controller_mac.mm

Issue 176363002: Rename Start/EndKeepAlive to Increment/DecrementKeepAliveCount (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase (rename_keep_alive) Created 6 years, 10 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 | « apps/shell/browser/shell_apps_client.cc ('k') | chrome/browser/apps/chrome_apps_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/app_controller_mac.mm
diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm
index 6d48663e987144dbe0f3bafa53ead48d3544e3e2..23f892de8284dd595cb4a5ac2eeaa9c8aba72f21 100644
--- a/chrome/browser/app_controller_mac.mm
+++ b/chrome/browser/app_controller_mac.mm
@@ -447,7 +447,7 @@ class AppControllerProfileObserver : public ProfileInfoCacheObserver {
// Tell BrowserList not to keep the browser process alive. Once all the
// browsers get dealloc'd, it will stop the RunLoop and fall back into main().
- chrome::EndKeepAlive();
+ chrome::DecrementKeepAliveCount();
// Reset all pref watching, as this object outlives the prefs system.
profilePrefRegistrar_.reset();
@@ -694,7 +694,7 @@ class AppControllerProfileObserver : public ProfileInfoCacheObserver {
- (void)applicationDidFinishLaunching:(NSNotification*)notify {
// Notify BrowserList to keep the application running so it doesn't go away
// when all the browser windows get closed.
- chrome::StartKeepAlive();
+ chrome::IncrementKeepAliveCount();
[self setUpdateCheckInterval];
« no previous file with comments | « apps/shell/browser/shell_apps_client.cc ('k') | chrome/browser/apps/chrome_apps_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698