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

Unified Diff: ash/test/test_lock_state_controller_delegate.h

Issue 811033002: Add device policy to disallow shutdown - ash UI modifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reduced scope of CL (ash only now, removed webui changes) 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
Index: ash/test/test_lock_state_controller_delegate.h
diff --git a/ash/test/test_lock_state_controller_delegate.h b/ash/test/test_lock_state_controller_delegate.h
index 6444ab5728dbdcaf3cb1fb3b0969a110ac09f516..4869961d465e8328e23773bf0ec4aaf3f8215d3f 100644
--- a/ash/test/test_lock_state_controller_delegate.h
+++ b/ash/test/test_lock_state_controller_delegate.h
@@ -22,12 +22,10 @@ class TestLockStateControllerDelegate : public LockStateControllerDelegate {
// LockStateControllerDelegate implementation.
void RequestLockScreen() override;
- void RequestRestart() override;
- void RequestShutdown() override;
+ void RequestShutdownOrRestart() override;
private:
int num_lock_requests_;
- int num_restart_requests_;
int num_shutdown_requests_;
DISALLOW_COPY_AND_ASSIGN(TestLockStateControllerDelegate);

Powered by Google App Engine
This is Rietveld 408576698