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 "base/memory/ptr_util.h" | |
6 #include "remoting/host/local_input_monitor.h" | |
7 | |
8 namespace remoting { | |
9 | |
10 namespace { | |
11 | |
12 class LocalInputMonitorAndroid : public LocalInputMonitor { | |
13 public: | |
14 LocalInputMonitorAndroid() {} | |
15 | |
16 private: | |
17 DISALLOW_COPY_AND_ASSIGN(LocalInputMonitorAndroid); | |
18 }; | |
19 | |
20 } // namespace | |
21 | |
22 std::unique_ptr<LocalInputMonitor> LocalInputMonitor::Create( | |
23 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, | |
24 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, | |
25 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, | |
26 base::WeakPtr<ClientSessionControl> client_session_control) { | |
27 return base::WrapUnique(new LocalInputMonitorAndroid()); | |
28 } | |
29 | |
30 } // namespace remoting | |
OLD | NEW |