Update V8 to version 4.7.58.
[chromium-blink-merge.git] / device / hid / fake_input_service_linux.cc
blobae3f0851b813c857e8d4dd7e2b2af2260a2ff48d
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 #include "device/hid/fake_input_service_linux.h"
7 #include <string>
8 #include <vector>
10 namespace device {
12 FakeInputServiceLinux::FakeInputServiceLinux() {
15 FakeInputServiceLinux::~FakeInputServiceLinux() {
18 void FakeInputServiceLinux::AddDeviceForTesting(const InputDeviceInfo& info) {
19 AddDevice(info);
22 void FakeInputServiceLinux::RemoveDeviceForTesting(const std::string& id) {
23 RemoveDevice(id);
26 void FakeInputServiceLinux::ClearDeviceList() {
27 devices_.clear();
30 } // namespace device