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

Side by Side Diff: device/core/device_monitor_win.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 4 years, 12 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/core/device_info_query_win.cc ('k') | device/devices_app/devices_app.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/core/device_monitor_win.h" 5 #include "device/core/device_monitor_win.h"
6 6
7 #include <windows.h>
7 #include <dbt.h> 8 #include <dbt.h>
8 #include <map> 9 #include <map>
9 #include <windows.h>
10 10
11 #include "base/at_exit.h" 11 #include "base/at_exit.h"
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/macros.h"
13 #include "base/strings/string_util.h" 14 #include "base/strings/string_util.h"
14 #include "base/strings/sys_string_conversions.h" 15 #include "base/strings/sys_string_conversions.h"
15 #include "base/win/message_window.h" 16 #include "base/win/message_window.h"
16 17
17 namespace device { 18 namespace device {
18 19
19 class DeviceMonitorMessageWindow; 20 class DeviceMonitorMessageWindow;
20 21
21 namespace { 22 namespace {
22 23
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 OnDeviceAdded(class_guid, device_path)); 195 OnDeviceAdded(class_guid, device_path));
195 } 196 }
196 197
197 void DeviceMonitorWin::NotifyDeviceRemoved(const GUID& class_guid, 198 void DeviceMonitorWin::NotifyDeviceRemoved(const GUID& class_guid,
198 const std::string& device_path) { 199 const std::string& device_path) {
199 FOR_EACH_OBSERVER(Observer, observer_list_, 200 FOR_EACH_OBSERVER(Observer, observer_list_,
200 OnDeviceRemoved(class_guid, device_path)); 201 OnDeviceRemoved(class_guid, device_path));
201 } 202 }
202 203
203 } // namespace device 204 } // namespace device
OLDNEW
« no previous file with comments | « device/core/device_info_query_win.cc ('k') | device/devices_app/devices_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698