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 CHROME_BROWSER_DEVTOOLS_DEVICE_USB_ANDROID_USB_DEVICE_H_ | 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVICE_USB_ANDROID_USB_DEVICE_H_ |
6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_USB_ANDROID_USB_DEVICE_H_ | 6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_USB_ANDROID_USB_DEVICE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <map> | 11 #include <map> |
12 #include <queue> | 12 #include <queue> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 17 #include "base/memory/scoped_ptr.h" |
17 #include "base/memory/scoped_vector.h" | 18 #include "base/memory/scoped_vector.h" |
18 #include "base/memory/weak_ptr.h" | 19 #include "base/memory/weak_ptr.h" |
19 #include "device/usb/usb_device_handle.h" | 20 #include "device/usb/usb_device_handle.h" |
20 | 21 |
21 namespace base { | 22 namespace base { |
22 class SingleThreadTaskRunner; | 23 class SingleThreadTaskRunner; |
23 } | 24 } |
24 | 25 |
25 namespace crypto { | 26 namespace crypto { |
26 class RSAPrivateKey; | 27 class RSAPrivateKey; |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 // Outgoing messages pending connect | 163 // Outgoing messages pending connect |
163 typedef ScopedVector<AdbMessage> PendingMessages; | 164 typedef ScopedVector<AdbMessage> PendingMessages; |
164 PendingMessages pending_messages_; | 165 PendingMessages pending_messages_; |
165 | 166 |
166 base::WeakPtrFactory<AndroidUsbDevice> weak_factory_; | 167 base::WeakPtrFactory<AndroidUsbDevice> weak_factory_; |
167 | 168 |
168 DISALLOW_COPY_AND_ASSIGN(AndroidUsbDevice); | 169 DISALLOW_COPY_AND_ASSIGN(AndroidUsbDevice); |
169 }; | 170 }; |
170 | 171 |
171 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_USB_ANDROID_USB_DEVICE_H_ | 172 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_USB_ANDROID_USB_DEVICE_H_ |
OLD | NEW |