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

Side by Side Diff: device/usb/usb_device_handle.h

Issue 562763002: Convert device::UsbConfigDescriptor and friends to structs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add interface and endpoint descriptor iterator typedefs. Created 6 years, 3 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/usb/usb_device_filter_unittest.cc ('k') | device/usb/usb_device_handle_impl.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_USB_USB_DEVICE_HANDLE_H_ 5 #ifndef DEVICE_USB_USB_DEVICE_HANDLE_H_
6 #define DEVICE_USB_USB_DEVICE_HANDLE_H_ 6 #define DEVICE_USB_USB_DEVICE_HANDLE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 #include "base/threading/thread_checker.h" 14 #include "base/threading/thread_checker.h"
15 #include "device/usb/usb_interface.h" 15 #include "device/usb/usb_descriptors.h"
16 #include "net/base/io_buffer.h" 16 #include "net/base/io_buffer.h"
17 17
18 namespace device { 18 namespace device {
19 19
20 class UsbDevice; 20 class UsbDevice;
21 21
22 enum UsbTransferStatus { 22 enum UsbTransferStatus {
23 USB_TRANSFER_COMPLETED = 0, 23 USB_TRANSFER_COMPLETED = 0,
24 USB_TRANSFER_ERROR, 24 USB_TRANSFER_ERROR,
25 USB_TRANSFER_TIMEOUT, 25 USB_TRANSFER_TIMEOUT,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 UsbDeviceHandle() {}; 101 UsbDeviceHandle() {};
102 102
103 virtual ~UsbDeviceHandle() {}; 103 virtual ~UsbDeviceHandle() {};
104 104
105 DISALLOW_COPY_AND_ASSIGN(UsbDeviceHandle); 105 DISALLOW_COPY_AND_ASSIGN(UsbDeviceHandle);
106 }; 106 };
107 107
108 } // namespace device 108 } // namespace device
109 109
110 #endif // DEVICE_USB_USB_DEVICE_HANDLE_H_ 110 #endif // DEVICE_USB_USB_DEVICE_HANDLE_H_
OLDNEW
« no previous file with comments | « device/usb/usb_device_filter_unittest.cc ('k') | device/usb/usb_device_handle_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698