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

Unified Diff: chrome/browser/chromeos/login/login_display_host_impl.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
Index: chrome/browser/chromeos/login/login_display_host_impl.cc
diff --git a/chrome/browser/chromeos/login/login_display_host_impl.cc b/chrome/browser/chromeos/login/login_display_host_impl.cc
index 2866397380a024b896e235df9068779e53cfa51f..453a88fca7b50dbd33a08e0c1b7f5aa99c156e34 100644
--- a/chrome/browser/chromeos/login/login_display_host_impl.cc
+++ b/chrome/browser/chromeos/login/login_display_host_impl.cc
@@ -296,7 +296,7 @@ LoginDisplayHostImpl::LoginDisplayHostImpl(const gfx::Rect& background_bounds)
default_host_ = this;
// Make sure chrome won't exit while we are at login/oobe screen.
- chrome::StartKeepAlive();
+ chrome::IncrementKeepAliveCount();
bool is_registered = StartupUtils::IsDeviceRegistered();
bool zero_delay_enabled = WizardController::IsZeroDelayEnabled();
@@ -374,7 +374,7 @@ LoginDisplayHostImpl::~LoginDisplayHostImpl() {
ResetLoginWindowAndView();
// Let chrome process exit after login/oobe screen if needed.
- chrome::EndKeepAlive();
+ chrome::DecrementKeepAliveCount();
default_host_ = NULL;
// TODO(tengs): This should be refactored. See crbug.com/314934.

Powered by Google App Engine
This is Rietveld 408576698