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

Side by Side Diff: trunk/src/device/hid/hid_service_win.h

Issue 148183015: Revert 247926 "HID backend" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « trunk/src/device/hid/hid_service_unittest.cc ('k') | trunk/src/device/hid/hid_service_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 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.
4
5 #ifndef DEVICE_HID_HID_SERVICE_WIN_H_
6 #define DEVICE_HID_HID_SERVICE_WIN_H_
7
8 #include <map>
9 #include <string>
10 #include <vector>
11
12 #include "base/basictypes.h"
13 #include "base/memory/ref_counted.h"
14 #include "device/hid/hid_device_info.h"
15 #include "device/hid/hid_service.h"
16
17 namespace device {
18
19 class HidConnection;
20 class HidService;
21
22 class HidServiceWin : public HidService {
23 public:
24 HidServiceWin();
25
26 virtual void GetDevices(std::vector<HidDeviceInfo>* devices) OVERRIDE;
27
28 virtual scoped_refptr<HidConnection> Connect(std::string device_id) OVERRIDE;
29
30 private:
31 virtual ~HidServiceWin();
32
33 bool Enumerate();
34 void PlatformAddDevice(std::string device_path);
35 void PlatformRemoveDevice(std::string device_path);
36
37 DISALLOW_COPY_AND_ASSIGN(HidServiceWin);
38 };
39
40 } // namespace device
41
42 #endif // DEVICE_HID_HID_SERVICE_WIN_H_
OLDNEW
« no previous file with comments | « trunk/src/device/hid/hid_service_unittest.cc ('k') | trunk/src/device/hid/hid_service_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698