OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "ash/test/lock_state_controller_test_api.h" |
| 6 |
| 7 #include <memory> |
| 8 #include <utility> |
| 9 |
| 10 #include "ash/public/interfaces/shutdown.mojom.h" |
| 11 |
| 12 namespace ash { |
| 13 namespace test { |
| 14 |
| 15 LockStateControllerTestApi::LockStateControllerTestApi( |
| 16 LockStateController* controller) |
| 17 : controller_(controller) { |
| 18 DCHECK(controller); |
| 19 } |
| 20 |
| 21 LockStateControllerTestApi::~LockStateControllerTestApi() {} |
| 22 |
| 23 void LockStateControllerTestApi::SetShutdownClient( |
| 24 std::unique_ptr<mojom::ShutdownClient> client) { |
| 25 controller_->shutdown_client_ = std::move(client); |
| 26 } |
| 27 |
| 28 } // namespace test |
| 29 } // namespace ash |
OLD | NEW |