Chromium Code Reviews| 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 |
|
miket_OOO
2014/02/24 16:41:32
nit wrap
|
| // 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. |