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

Unified Diff: chrome/browser/ui/views/user_manager_view.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 | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/user_manager_view.cc
diff --git a/chrome/browser/ui/views/user_manager_view.cc b/chrome/browser/ui/views/user_manager_view.cc
index 8635ef45ea8bbd9a3a175c32d2794e1aa1114357..bcb083e367c0f52b2d4396b5464f88da90fd6af5 100644
--- a/chrome/browser/ui/views/user_manager_view.cc
+++ b/chrome/browser/ui/views/user_manager_view.cc
@@ -64,13 +64,13 @@ UserManagerView::UserManagerView(Profile* profile)
}
UserManagerView::~UserManagerView() {
- chrome::EndKeepAlive(); // Remove shutdown prevention.
+ chrome::DecrementKeepAliveCount(); // Remove shutdown prevention.
}
// static
void UserManagerView::Show(const base::FilePath& profile_path_to_focus) {
// Prevent the browser process from shutting down while this window is open.
- chrome::StartKeepAlive();
+ chrome::IncrementKeepAliveCount();
ProfileMetrics::LogProfileSwitchUser(ProfileMetrics::OPEN_USER_MANAGER);
if (instance_) {
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698