OLD | NEW |
---|---|
(Empty) | |
1 // 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.
| |
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 "device/hid/fake_input_service_linux.h" | |
6 | |
7 #include <string> | |
8 #include <vector> | |
9 | |
10 namespace device { | |
11 | |
12 FakeInputServiceLinux::FakeInputServiceLinux() { | |
13 } | |
14 | |
15 FakeInputServiceLinux::~FakeInputServiceLinux() { | |
16 } | |
17 | |
18 void FakeInputServiceLinux::AddDeviceForTesting(const InputDeviceInfo& info) { | |
19 AddDevice(info); | |
20 } | |
21 | |
22 void FakeInputServiceLinux::RemoveDeviceForTesting(const std::string& id) { | |
23 RemoveDevice(id); | |
24 } | |
25 | |
26 void FakeInputServiceLinux::ClearDeviceList() { | |
27 devices_.clear(); | |
28 } | |
29 | |
30 } // namespace device | |
OLD | NEW |