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

Side by Side Diff: device/core/device_monitor_win.cc

Issue 1853033003: Fix IWYU violators that don't include scoped_ptr.h in Windows build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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 <windows.h>
8 #include <dbt.h> 8 #include <dbt.h>
9 #include <map> 9 #include <map>
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/macros.h"
14 #include "base/memory/scoped_ptr.h"
14 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
15 #include "base/strings/sys_string_conversions.h" 16 #include "base/strings/sys_string_conversions.h"
16 #include "base/win/message_window.h" 17 #include "base/win/message_window.h"
17 18
18 namespace device { 19 namespace device {
19 20
20 class DeviceMonitorMessageWindow; 21 class DeviceMonitorMessageWindow;
21 22
22 namespace { 23 namespace {
23 24
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 OnDeviceAdded(class_guid, device_path)); 196 OnDeviceAdded(class_guid, device_path));
196 } 197 }
197 198
198 void DeviceMonitorWin::NotifyDeviceRemoved(const GUID& class_guid, 199 void DeviceMonitorWin::NotifyDeviceRemoved(const GUID& class_guid,
199 const std::string& device_path) { 200 const std::string& device_path) {
200 FOR_EACH_OBSERVER(Observer, observer_list_, 201 FOR_EACH_OBSERVER(Observer, observer_list_,
201 OnDeviceRemoved(class_guid, device_path)); 202 OnDeviceRemoved(class_guid, device_path));
202 } 203 }
203 204
204 } // namespace device 205 } // namespace device
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_remote_gatt_service_win.h ('k') | extensions/browser/guest_view/web_view/web_view_find_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698