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

Side by Side Diff: device/hid/hid_service.cc

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_service.h ('k') | device/hid/hid_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 #include "device/hid/hid_service.h" 5 #include "device/hid/hid_service.h"
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/stl_util.h" 11 #include "base/stl_util.h"
12 #include "build/build_config.h"
12 #include "components/device_event_log/device_event_log.h" 13 #include "components/device_event_log/device_event_log.h"
13 14
14 #if defined(OS_LINUX) && defined(USE_UDEV) 15 #if defined(OS_LINUX) && defined(USE_UDEV)
15 #include "device/hid/hid_service_linux.h" 16 #include "device/hid/hid_service_linux.h"
16 #elif defined(OS_MACOSX) 17 #elif defined(OS_MACOSX)
17 #include "device/hid/hid_service_mac.h" 18 #include "device/hid/hid_service_mac.h"
18 #elif defined(OS_WIN) 19 #elif defined(OS_WIN)
19 #include "device/hid/hid_service_win.h" 20 #include "device/hid/hid_service_win.h"
20 #endif 21 #endif
21 22
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 } 134 }
134 135
135 for (const GetDevicesCallback& callback : pending_enumerations_) { 136 for (const GetDevicesCallback& callback : pending_enumerations_) {
136 callback.Run(devices); 137 callback.Run(devices);
137 } 138 }
138 pending_enumerations_.clear(); 139 pending_enumerations_.clear();
139 } 140 }
140 } 141 }
141 142
142 } // namespace device 143 } // namespace device
OLDNEW
« no previous file with comments | « device/hid/hid_service.h ('k') | device/hid/hid_service_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698