1 // Copyright 2015 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.
5 #ifndef DEVICE_HID_FAKE_INPUT_SERVICE_LINUX_H_
6 #define DEVICE_HID_FAKE_INPUT_SERVICE_LINUX_H_
10 #include "device/hid/input_service_linux.h"
14 class FakeInputServiceLinux
: public InputServiceLinux
{
17 FakeInputServiceLinux();
18 ~FakeInputServiceLinux() override
;
20 void AddDeviceForTesting(const InputDeviceInfo
& info
);
21 void RemoveDeviceForTesting(const std::string
& id
);
22 void ClearDeviceList();
24 DISALLOW_COPY_AND_ASSIGN(FakeInputServiceLinux
);
29 #endif // DEVICE_HID_FAKE_INPUT_SERVICE_LINUX_H_