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

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

Issue 1542163002: Switch to standard integer types in device/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 5 years 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/fake_input_service_linux.h ('k') | device/hid/hid_connection_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_CONNECTION_H_ 5 #ifndef DEVICE_HID_HID_CONNECTION_H_
6 #define DEVICE_HID_HID_CONNECTION_H_ 6 #define DEVICE_HID_HID_CONNECTION_H_
7 7
8 #include <stddef.h>
8 #include <stdint.h> 9 #include <stdint.h>
9 10
10 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
12 #include "base/threading/thread_checker.h" 14 #include "base/threading/thread_checker.h"
13 #include "device/hid/hid_device_info.h" 15 #include "device/hid/hid_device_info.h"
14 #include "net/base/io_buffer.h" 16 #include "net/base/io_buffer.h"
15 17
16 namespace device { 18 namespace device {
17 19
18 class HidConnection : public base::RefCountedThreadSafe<HidConnection> { 20 class HidConnection : public base::RefCountedThreadSafe<HidConnection> {
19 public: 21 public:
20 enum SpecialReportIds { 22 enum SpecialReportIds {
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 struct PendingHidRead { 106 struct PendingHidRead {
105 PendingHidRead(); 107 PendingHidRead();
106 ~PendingHidRead(); 108 ~PendingHidRead();
107 109
108 HidConnection::ReadCallback callback; 110 HidConnection::ReadCallback callback;
109 }; 111 };
110 112
111 } // namespace device 113 } // namespace device
112 114
113 #endif // DEVICE_HID_HID_CONNECTION_H_ 115 #endif // DEVICE_HID_HID_CONNECTION_H_
OLDNEW
« no previous file with comments | « device/hid/fake_input_service_linux.h ('k') | device/hid/hid_connection_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698