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

Unified Diff: remoting/host/local_input_monitor_android.cc

Issue 1863933002: [remoting android] Add and build host code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@android-host-add-native
Patch Set: Created 4 years, 8 months 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
Index: remoting/host/local_input_monitor_android.cc
diff --git a/remoting/host/local_input_monitor_android.cc b/remoting/host/local_input_monitor_android.cc
new file mode 100644
index 0000000000000000000000000000000000000000..eb85101b71ee90e0c28732fc12cd88a79c4f87f5
--- /dev/null
+++ b/remoting/host/local_input_monitor_android.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 "remoting/host/local_input_monitor.h"
+
+namespace remoting {
+
+namespace {
+
+class LocalInputMonitorAndroid : public LocalInputMonitor {
+ public:
+ LocalInputMonitorAndroid() {}
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(LocalInputMonitorAndroid);
+};
+
+} // namespace
+
+scoped_ptr<LocalInputMonitor> LocalInputMonitor::Create(
+ scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
+ scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
+ scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
+ base::WeakPtr<ClientSessionControl> client_session_control) {
+ return make_scoped_ptr(new LocalInputMonitorAndroid());
+}
+
+} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698