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

Side by Side Diff: device/hid/hid_service_mac.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_linux.h ('k') | device/hid/hid_service_win.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_MAC_H_ 5 #ifndef DEVICE_HID_HID_SERVICE_MAC_H_
6 #define DEVICE_HID_HID_SERVICE_MAC_H_ 6 #define DEVICE_HID_HID_SERVICE_MAC_H_
7 7
8 #include <CoreFoundation/CoreFoundation.h> 8 #include <CoreFoundation/CoreFoundation.h>
9 #include <IOKit/hid/IOHIDManager.h> 9 #include <IOKit/hid/IOHIDManager.h>
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "base/mac/foundation_util.h" 13 #include "base/mac/foundation_util.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "device/hid/hid_service.h" 15 #include "device/hid/hid_service.h"
16 16
17 namespace base { 17 namespace base {
18 class MessageLoopProxy; 18 class MessageLoopProxy;
19 } 19 }
20 20
21 namespace device { 21 namespace device {
22 22
23 class HidConnection; 23 class HidConnection;
24 24
25 class HidServiceMac : public HidService { 25 class HidServiceMac : public HidService {
26 public: 26 public:
27 HidServiceMac(); 27 HidServiceMac();
28 28
29 virtual scoped_refptr<HidConnection> Connect(const HidDeviceId& device_id) 29 virtual scoped_refptr<HidConnection> Connect(const HidDeviceId& device_id)
30 OVERRIDE; 30 override;
31 31
32 private: 32 private:
33 virtual ~HidServiceMac(); 33 virtual ~HidServiceMac();
34 34
35 void StartWatchingDevices(); 35 void StartWatchingDevices();
36 void StopWatchingDevices(); 36 void StopWatchingDevices();
37 37
38 // Device changing callbacks. 38 // Device changing callbacks.
39 static void AddDeviceCallback(void* context, 39 static void AddDeviceCallback(void* context,
40 IOReturn result, 40 IOReturn result,
(...skipping 14 matching lines...) Expand all
55 55
56 // The message loop for the thread on which this service was created. 56 // The message loop for the thread on which this service was created.
57 scoped_refptr<base::MessageLoopProxy> message_loop_; 57 scoped_refptr<base::MessageLoopProxy> message_loop_;
58 58
59 DISALLOW_COPY_AND_ASSIGN(HidServiceMac); 59 DISALLOW_COPY_AND_ASSIGN(HidServiceMac);
60 }; 60 };
61 61
62 } // namespace device 62 } // namespace device
63 63
64 #endif // DEVICE_HID_HID_SERVICE_MAC_H_ 64 #endif // DEVICE_HID_HID_SERVICE_MAC_H_
OLDNEW
« no previous file with comments | « device/hid/hid_service_linux.h ('k') | device/hid/hid_service_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698