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

Unified Diff: chrome/browser/chromeos/policy/device_local_account_browsertest.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/policy/device_local_account_browsertest.cc
diff --git a/chrome/browser/chromeos/policy/device_local_account_browsertest.cc b/chrome/browser/chromeos/policy/device_local_account_browsertest.cc
index 93deb6fad5fc23020f768fc7f6462f866fb1fc92..531a45decee3fbf5406f77166dccc9d2adb87757 100644
--- a/chrome/browser/chromeos/policy/device_local_account_browsertest.cc
+++ b/chrome/browser/chromeos/policy/device_local_account_browsertest.cc
@@ -607,7 +607,7 @@ IN_PROC_BROWSER_TEST_F(DeviceLocalAccountTest, FullscreenDisallowed) {
// Ensure that the browser stays alive, even though no windows are opened
// during session start.
- chrome::StartKeepAlive();
+ chrome::IncrementKeepAliveCount();
// Start login into the device-local account.
host->StartSignInScreen(LoginScreenContext());
@@ -629,7 +629,7 @@ IN_PROC_BROWSER_TEST_F(DeviceLocalAccountTest, FullscreenDisallowed) {
ASSERT_TRUE(browser);
BrowserWindow* browser_window = browser->window();
ASSERT_TRUE(browser_window);
- chrome::EndKeepAlive();
+ chrome::DecrementKeepAliveCount();
// Verify that an attempt to enter fullscreen mode is denied.
EXPECT_FALSE(browser_window->IsFullscreen());
@@ -690,7 +690,7 @@ IN_PROC_BROWSER_TEST_F(DeviceLocalAccountTest, ExtensionsUncached) {
// Ensure that the browser stays alive, even though no windows are opened
// during session start.
- chrome::StartKeepAlive();
+ chrome::IncrementKeepAliveCount();
// Start listening for app/extension installation results.
content::WindowedNotificationObserver hosted_app_observer(
@@ -789,7 +789,7 @@ IN_PROC_BROWSER_TEST_F(DeviceLocalAccountTest, ExtensionsCached) {
// Ensure that the browser stays alive, even though no windows are opened
// during session start.
- chrome::StartKeepAlive();
+ chrome::IncrementKeepAliveCount();
// Start listening for app/extension installation results.
content::WindowedNotificationObserver hosted_app_observer(
@@ -915,7 +915,7 @@ IN_PROC_BROWSER_TEST_F(DeviceLocalAccountTest, ExternalData) {
// Ensure that the browser stays alive, even though no windows are opened
// during session start.
- chrome::StartKeepAlive();
+ chrome::IncrementKeepAliveCount();
// Start login into the device-local account.
host->StartSignInScreen(LoginScreenContext());
« no previous file with comments | « chrome/browser/chromeos/login/login_display_host_impl.cc ('k') | chrome/browser/devtools/devtools_sanity_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698