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

Unified Diff: apps/apps_client.h

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_window.cc ('k') | apps/shell/browser/shell_apps_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/apps_client.h
diff --git a/apps/apps_client.h b/apps/apps_client.h
index bd5474c9438ce40bb76305e89ccc09141a617645..9af8afb65b2c46b86019f3f909de34d4497b600b 100644
--- a/apps/apps_client.h
+++ b/apps/apps_client.h
@@ -37,10 +37,10 @@ class AppsClient {
content::BrowserContext* context,
const extensions::Extension* extension) = 0;
- // Tells the embedding application to stay running. The application may close
- // after a matching number of calls to EndKeepAlive() are made.
- virtual void StartKeepAlive() = 0;
- virtual void EndKeepAlive() = 0;
+ // A positive keep-alive count is a request for the embedding application to
+ // keep running after all windows are closed. The count starts at zero.
+ virtual void IncrementKeepAliveCount() = 0;
+ virtual void DecrementKeepAliveCount() = 0;
// Return the apps client.
static AppsClient* Get();
« no previous file with comments | « apps/app_window.cc ('k') | apps/shell/browser/shell_apps_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698