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

Unified Diff: chrome/browser/lifetime/application_lifetime.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
Index: chrome/browser/lifetime/application_lifetime.h
diff --git a/chrome/browser/lifetime/application_lifetime.h b/chrome/browser/lifetime/application_lifetime.h
index 2e526dfa82777489d2108f6994ea5d8a8239cb77..0a5db4291e2316f3545ff1ce67467bfdc1a00616 100644
--- a/chrome/browser/lifetime/application_lifetime.h
+++ b/chrome/browser/lifetime/application_lifetime.h
@@ -83,13 +83,14 @@ void SessionEnding();
// Tells the BrowserList to keep the application alive after the last Browser
// closes. This is implemented as a count, so callers should pair their calls
-// to StartKeepAlive() with matching calls to EndKeepAlive() when they no
+// to IncrementKeepAliveCount() with matching calls to DecrementKeepAliveCount()
+// when they no
// longer need to keep the application running.
-void StartKeepAlive();
+void IncrementKeepAliveCount();
// Stops keeping the application alive after the last Browser is closed.
-// Should match a previous call to StartKeepAlive().
-void EndKeepAlive();
+// Should match a previous call to IncrementKeepAliveCount().
+void DecrementKeepAliveCount();
// Returns true if application will continue running after the last Browser
// closes.
« no previous file with comments | « chrome/browser/devtools/devtools_sanity_browsertest.cc ('k') | chrome/browser/lifetime/application_lifetime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698