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

Unified Diff: chrome/browser/ui/app_list/keep_alive_service_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
« no previous file with comments | « chrome/browser/sessions/better_session_restore_browsertest.cc ('k') | chrome/browser/ui/ash/ash_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/keep_alive_service_impl.cc
diff --git a/chrome/browser/ui/app_list/keep_alive_service_impl.cc b/chrome/browser/ui/app_list/keep_alive_service_impl.cc
index a08c843d3d0d772bcf31e5a1953a0b84e52ef486..c068b6e3ef443655923b4e893c728f226b8730a3 100644
--- a/chrome/browser/ui/app_list/keep_alive_service_impl.cc
+++ b/chrome/browser/ui/app_list/keep_alive_service_impl.cc
@@ -6,13 +6,9 @@
#include "chrome/browser/lifetime/application_lifetime.h"
-ScopedKeepAlive::ScopedKeepAlive() {
- chrome::StartKeepAlive();
-}
+ScopedKeepAlive::ScopedKeepAlive() { chrome::IncrementKeepAliveCount(); }
-ScopedKeepAlive::~ScopedKeepAlive() {
- chrome::EndKeepAlive();
-}
+ScopedKeepAlive::~ScopedKeepAlive() { chrome::DecrementKeepAliveCount(); }
KeepAliveServiceImpl::KeepAliveServiceImpl() {
}
« no previous file with comments | « chrome/browser/sessions/better_session_restore_browsertest.cc ('k') | chrome/browser/ui/ash/ash_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698