Index: ash/test/lock_state_controller_test_api.cc |
diff --git a/ash/test/lock_state_controller_test_api.cc b/ash/test/lock_state_controller_test_api.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b1734685e5bcc089e12298daf4dc38bf2ce423fa |
--- /dev/null |
+++ b/ash/test/lock_state_controller_test_api.cc |
@@ -0,0 +1,29 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "ash/test/lock_state_controller_test_api.h" |
+ |
+#include <memory> |
+#include <utility> |
+ |
+#include "ash/public/interfaces/shutdown.mojom.h" |
+ |
+namespace ash { |
+namespace test { |
+ |
+LockStateControllerTestApi::LockStateControllerTestApi( |
+ LockStateController* controller) |
+ : controller_(controller) { |
+ DCHECK(controller); |
+} |
+ |
+LockStateControllerTestApi::~LockStateControllerTestApi() {} |
+ |
+void LockStateControllerTestApi::SetShutdownClient( |
+ std::unique_ptr<mojom::ShutdownClient> client) { |
+ controller_->shutdown_client_ = std::move(client); |
+} |
+ |
+} // namespace test |
+} // namespace ash |