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

Unified Diff: apps/app_window.cc

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/app_keep_alive_service_unittest.cc ('k') | apps/apps_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/app_window.cc
diff --git a/apps/app_window.cc b/apps/app_window.cc
index 1c6d2866ce7508a5e0850e76f67c5a9ca12e54c4..6a4f7dbece7fdbbf21484d9ab783684f3bd11b95 100644
--- a/apps/app_window.cc
+++ b/apps/app_window.cc
@@ -232,7 +232,7 @@ void AppWindow::Init(const GURL& url,
}
// Prevent the browser process from shutting down while this window is open.
- AppsClient::Get()->StartKeepAlive();
+ AppsClient::Get()->IncrementKeepAliveCount();
UpdateExtensionAppIcon();
@@ -245,7 +245,7 @@ AppWindow::~AppWindow() {
registrar_.RemoveAll();
// Remove shutdown prevention.
- AppsClient::Get()->EndKeepAlive();
+ AppsClient::Get()->DecrementKeepAliveCount();
}
void AppWindow::RequestMediaAccessPermission(
« no previous file with comments | « apps/app_keep_alive_service_unittest.cc ('k') | apps/apps_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698