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

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

Issue 628873002: replace OVERRIDE and FINAL with override and final in device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « device/hid/hid_service_mac.h ('k') | device/hid/input_service_linux.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DEVICE_HID_HID_SERVICE_WIN_H_ 5 #ifndef DEVICE_HID_HID_SERVICE_WIN_H_
6 #define DEVICE_HID_HID_SERVICE_WIN_H_ 6 #define DEVICE_HID_HID_SERVICE_WIN_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "device/hid/hid_device_info.h" 10 #include "device/hid/hid_device_info.h"
(...skipping 12 matching lines...) Expand all
23 #endif // defined(OS_WIN) 23 #endif // defined(OS_WIN)
24 24
25 namespace device { 25 namespace device {
26 26
27 class HidConnection; 27 class HidConnection;
28 28
29 class HidServiceWin : public HidService { 29 class HidServiceWin : public HidService {
30 public: 30 public:
31 HidServiceWin(); 31 HidServiceWin();
32 32
33 virtual void GetDevices(std::vector<HidDeviceInfo>* devices) OVERRIDE; 33 virtual void GetDevices(std::vector<HidDeviceInfo>* devices) override;
34 34
35 virtual scoped_refptr<HidConnection> Connect(const HidDeviceId& device_id) 35 virtual scoped_refptr<HidConnection> Connect(const HidDeviceId& device_id)
36 OVERRIDE; 36 override;
37 37
38 private: 38 private:
39 virtual ~HidServiceWin(); 39 virtual ~HidServiceWin();
40 40
41 void Enumerate(); 41 void Enumerate();
42 static void CollectInfoFromButtonCaps(PHIDP_PREPARSED_DATA preparsed_data, 42 static void CollectInfoFromButtonCaps(PHIDP_PREPARSED_DATA preparsed_data,
43 HIDP_REPORT_TYPE report_type, 43 HIDP_REPORT_TYPE report_type,
44 USHORT button_caps_length, 44 USHORT button_caps_length,
45 HidCollectionInfo* collection_info); 45 HidCollectionInfo* collection_info);
46 static void CollectInfoFromValueCaps(PHIDP_PREPARSED_DATA preparsed_data, 46 static void CollectInfoFromValueCaps(PHIDP_PREPARSED_DATA preparsed_data,
47 HIDP_REPORT_TYPE report_type, 47 HIDP_REPORT_TYPE report_type,
48 USHORT value_caps_length, 48 USHORT value_caps_length,
49 HidCollectionInfo* collection_info); 49 HidCollectionInfo* collection_info);
50 void PlatformAddDevice(const std::string& device_path); 50 void PlatformAddDevice(const std::string& device_path);
51 void PlatformRemoveDevice(const std::string& device_path); 51 void PlatformRemoveDevice(const std::string& device_path);
52 52
53 DISALLOW_COPY_AND_ASSIGN(HidServiceWin); 53 DISALLOW_COPY_AND_ASSIGN(HidServiceWin);
54 }; 54 };
55 55
56 } // namespace device 56 } // namespace device
57 57
58 #endif // DEVICE_HID_HID_SERVICE_WIN_H_ 58 #endif // DEVICE_HID_HID_SERVICE_WIN_H_
OLDNEW
« no previous file with comments | « device/hid/hid_service_mac.h ('k') | device/hid/input_service_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698