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

Unified Diff: ash/test/test_lock_state_controller_delegate.cc

Issue 811033002: Add device policy to disallow shutdown - ash UI modifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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 | « ash/test/test_lock_state_controller_delegate.h ('k') | ash/wm/lock_state_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_lock_state_controller_delegate.cc
diff --git a/ash/test/test_lock_state_controller_delegate.cc b/ash/test/test_lock_state_controller_delegate.cc
index 42a2458846200c32188aef8c8842b31c4ab254e0..55e46ac60473dfe9fd63a97d01b2cb0c7c6fde56 100644
--- a/ash/test/test_lock_state_controller_delegate.cc
+++ b/ash/test/test_lock_state_controller_delegate.cc
@@ -9,7 +9,6 @@ namespace test {
TestLockStateControllerDelegate::TestLockStateControllerDelegate()
: num_lock_requests_(0),
- num_restart_requests_(0),
num_shutdown_requests_(0) {
}
@@ -20,10 +19,6 @@ void TestLockStateControllerDelegate::RequestLockScreen() {
++num_lock_requests_;
}
-void TestLockStateControllerDelegate::RequestRestart() {
- ++num_restart_requests_;
-}
-
void TestLockStateControllerDelegate::RequestShutdown() {
++num_shutdown_requests_;
}
« no previous file with comments | « ash/test/test_lock_state_controller_delegate.h ('k') | ash/wm/lock_state_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698