Index: device/hid/fake_input_service_linux.h |
diff --git a/device/hid/fake_input_service_linux.h b/device/hid/fake_input_service_linux.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3e84d62fa6d72a672f5ace8aec4ce0e729111e3e |
--- /dev/null |
+++ b/device/hid/fake_input_service_linux.h |
@@ -0,0 +1,29 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
Nikita (slow)
2015/02/13 12:31:45
nit: 2015
merkulova
2015/02/13 12:58:06
Done.
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef DEVICE_HID_FAKE_INPUT_SERVICE_LINUX_H_ |
+#define DEVICE_HID_FAKE_INPUT_SERVICE_LINUX_H_ |
+ |
+#include <string> |
+ |
+#include "device/hid/input_service_linux.h" |
+ |
+namespace device { |
+ |
+class FakeInputServiceLinux : public InputServiceLinux { |
+ |
+ public: |
+ FakeInputServiceLinux(); |
+ ~FakeInputServiceLinux() override; |
+ |
+ void AddDeviceForTesting(const InputDeviceInfo& info); |
+ void RemoveDeviceForTesting(const std::string& id); |
+ void ClearDeviceList(); |
+ |
+ DISALLOW_COPY_AND_ASSIGN(FakeInputServiceLinux); |
+}; |
+ |
+} // namespace device |
+ |
+#endif // DEVICE_HID_FAKE_INPUT_SERVICE_LINUX_H_ |