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

Unified Diff: ash/test/lock_state_controller_test_api.h

Issue 2497123002: chromeos: Move device shutdown handling out of chrome into ash (Closed)
Patch Set: rebase Created 4 years, 1 month 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/BUILD.gn ('k') | ash/test/lock_state_controller_test_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/lock_state_controller_test_api.h
diff --git a/ash/test/lock_state_controller_test_api.h b/ash/test/lock_state_controller_test_api.h
index 31ca2112fc8b13cbea69e4f30c4922fc3c1efb66..3dcb390fa883a0736a0b549037d17a88cd1eb062 100644
--- a/ash/test/lock_state_controller_test_api.h
+++ b/ash/test/lock_state_controller_test_api.h
@@ -25,7 +25,9 @@ class LockStateControllerTestApi {
explicit LockStateControllerTestApi(LockStateController* controller);
~LockStateControllerTestApi();
- void SetShutdownClient(std::unique_ptr<mojom::ShutdownClient> client);
+ void set_shutdown_controller(ShutdownController* shutdown_controller) {
+ controller_->shutdown_controller_ = shutdown_controller;
+ }
bool lock_fail_timer_is_running() const {
return controller_->lock_fail_timer_.IsRunning();
« no previous file with comments | « ash/test/BUILD.gn ('k') | ash/test/lock_state_controller_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698