| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_USB_DEVICE_MANAGER_IMPL_H_ | 5 #ifndef DEVICE_USB_DEVICE_MANAGER_IMPL_H_ |
| 6 #define DEVICE_USB_DEVICE_MANAGER_IMPL_H_ | 6 #define DEVICE_USB_DEVICE_MANAGER_IMPL_H_ |
| 7 | 7 |
| 8 #include <queue> | 8 #include <queue> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| 11 #include "base/containers/scoped_ptr_map.h" | |
| 12 #include "base/macros.h" | 11 #include "base/macros.h" |
| 13 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 14 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 16 #include "base/scoped_observer.h" | 15 #include "base/scoped_observer.h" |
| 17 #include "device/devices_app/usb/public/interfaces/device_manager.mojom.h" | 16 #include "device/devices_app/usb/public/interfaces/device_manager.mojom.h" |
| 18 #include "device/devices_app/usb/public/interfaces/permission_provider.mojom.h" | 17 #include "device/devices_app/usb/public/interfaces/permission_provider.mojom.h" |
| 19 #include "device/usb/usb_service.h" | 18 #include "device/usb/usb_service.h" |
| 20 #include "mojo/public/cpp/bindings/array.h" | 19 #include "mojo/public/cpp/bindings/array.h" |
| 21 #include "mojo/public/cpp/bindings/binding.h" | 20 #include "mojo/public/cpp/bindings/binding.h" |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 mojo::Binding<DeviceManager> binding_; | 102 mojo::Binding<DeviceManager> binding_; |
| 104 base::WeakPtrFactory<DeviceManagerImpl> weak_factory_; | 103 base::WeakPtrFactory<DeviceManagerImpl> weak_factory_; |
| 105 | 104 |
| 106 DISALLOW_COPY_AND_ASSIGN(DeviceManagerImpl); | 105 DISALLOW_COPY_AND_ASSIGN(DeviceManagerImpl); |
| 107 }; | 106 }; |
| 108 | 107 |
| 109 } // namespace usb | 108 } // namespace usb |
| 110 } // namespace device | 109 } // namespace device |
| 111 | 110 |
| 112 #endif // DEVICE_USB_DEVICE_MANAGER_IMPL_H_ | 111 #endif // DEVICE_USB_DEVICE_MANAGER_IMPL_H_ |
| OLD | NEW |