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

Side by Side Diff: device/hid/fake_input_service_linux.cc

Issue 913773002: Created fakes for HID-detection screen testing. Initial browsertest added. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: FakeInputServiceLinux used instead of FakeInputServiceProxy. Created 5 years, 10 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 unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698