| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |