Index: components/keyboard_lock/keyboard_lock_host.cc |
diff --git a/components/keyboard_lock/keyboard_lock_host.cc b/components/keyboard_lock/keyboard_lock_host.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b7a02256712b0c0212cb61206c0708811f38bf26 |
--- /dev/null |
+++ b/components/keyboard_lock/keyboard_lock_host.cc |
@@ -0,0 +1,22 @@ |
+// Copyright 2017 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 "components/keyboard_lock/keyboard_lock_host.h" |
+ |
+#include <utility> |
+ |
+#include "base/logging.h" |
+#include "base/single_thread_task_runner.h" |
+ |
+namespace keyboard_lock { |
+ |
+KeyboardLockHost::KeyboardLockHost( |
+ scoped_refptr<base::SingleThreadTaskRunner> runner) |
+ : runner_(std::move(runner)) { |
+ DCHECK(runner_); |
+} |
+ |
+KeyboardLockHost::~KeyboardLockHost() = default; |
+ |
+} // namespace keyboard_lock |