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

Side by Side Diff: device/hid/hid_connection_linux.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/hid_connection.h ('k') | device/hid/hid_connection_linux.cc » ('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 (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_LINUX_H_ 5 #ifndef DEVICE_HID_HID_CONNECTION_LINUX_H_
6 #define DEVICE_HID_HID_CONNECTION_LINUX_H_ 6 #define DEVICE_HID_HID_CONNECTION_LINUX_H_
7 7
8 #include <stddef.h>
9 #include <stdint.h>
10
8 #include <queue> 11 #include <queue>
9 12
10 #include "base/files/file.h" 13 #include "base/files/file.h"
14 #include "base/macros.h"
11 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
12 #include "device/hid/hid_connection.h" 16 #include "device/hid/hid_connection.h"
13 17
14 namespace base { 18 namespace base {
15 class SingleThreadTaskRunner; 19 class SingleThreadTaskRunner;
16 } 20 }
17 21
18 namespace device { 22 namespace device {
19 23
20 class HidConnectionLinux : public HidConnection { 24 class HidConnectionLinux : public HidConnection {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 std::queue<PendingHidRead> pending_reads_; 90 std::queue<PendingHidRead> pending_reads_;
87 91
88 base::WeakPtrFactory<HidConnectionLinux> weak_factory_; 92 base::WeakPtrFactory<HidConnectionLinux> weak_factory_;
89 93
90 DISALLOW_COPY_AND_ASSIGN(HidConnectionLinux); 94 DISALLOW_COPY_AND_ASSIGN(HidConnectionLinux);
91 }; 95 };
92 96
93 } // namespace device 97 } // namespace device
94 98
95 #endif // DEVICE_HID_HID_CONNECTION_LINUX_H_ 99 #endif // DEVICE_HID_HID_CONNECTION_LINUX_H_
OLDNEW
« no previous file with comments | « device/hid/hid_connection.h ('k') | device/hid/hid_connection_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698