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

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

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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/bluetooth/bluetooth_task_manager_win.h ('k') | device/hid/device_monitor_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_CORE_DEVICE_MONITOR_WIN_H_ 5 #ifndef DEVICE_CORE_DEVICE_MONITOR_WIN_H_
6 #define DEVICE_CORE_DEVICE_MONITOR_WIN_H_ 6 #define DEVICE_CORE_DEVICE_MONITOR_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 23 matching lines...) Expand all
34 private: 34 private:
35 friend class DeviceMonitorMessageWindow; 35 friend class DeviceMonitorMessageWindow;
36 36
37 DeviceMonitorWin(); 37 DeviceMonitorWin();
38 38
39 void NotifyDeviceAdded(const GUID& class_guid, 39 void NotifyDeviceAdded(const GUID& class_guid,
40 const std::string& device_path); 40 const std::string& device_path);
41 void NotifyDeviceRemoved(const GUID& class_guid, 41 void NotifyDeviceRemoved(const GUID& class_guid,
42 const std::string& device_path); 42 const std::string& device_path);
43 43
44 ObserverList<Observer> observer_list_; 44 base::ObserverList<Observer> observer_list_;
45 }; 45 };
46 46
47 } // namespace device 47 } // namespace device
48 48
49 #endif // DEVICE_CORE_DEVICE_MONITOR_WIN_H_ 49 #endif // DEVICE_CORE_DEVICE_MONITOR_WIN_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_task_manager_win.h ('k') | device/hid/device_monitor_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698