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

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

Issue 1642493005: Remove net/base/io_buffer.h include from usb_device_handle.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/mock_usb_device_handle.h ('k') | device/usb/usb_device_handle_impl.cc » ('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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <map> 11 #include <map>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/callback.h" 14 #include "base/callback_forward.h"
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/strings/string16.h" 17 #include "base/strings/string16.h"
18 #include "base/threading/thread_checker.h" 18 #include "base/threading/thread_checker.h"
19 #include "device/usb/usb_descriptors.h" 19 #include "device/usb/usb_descriptors.h"
20 #include "net/base/io_buffer.h" 20
21 namespace net {
22 class IOBuffer;
23 }
21 24
22 namespace device { 25 namespace device {
23 26
24 class UsbDevice; 27 class UsbDevice;
25 28
26 enum UsbTransferStatus { 29 enum UsbTransferStatus {
27 USB_TRANSFER_COMPLETED = 0, 30 USB_TRANSFER_COMPLETED = 0,
28 USB_TRANSFER_ERROR, 31 USB_TRANSFER_ERROR,
29 USB_TRANSFER_TIMEOUT, 32 USB_TRANSFER_TIMEOUT,
30 USB_TRANSFER_CANCELLED, 33 USB_TRANSFER_CANCELLED,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 UsbDeviceHandle(); 108 UsbDeviceHandle();
106 109
107 virtual ~UsbDeviceHandle(); 110 virtual ~UsbDeviceHandle();
108 111
109 DISALLOW_COPY_AND_ASSIGN(UsbDeviceHandle); 112 DISALLOW_COPY_AND_ASSIGN(UsbDeviceHandle);
110 }; 113 };
111 114
112 } // namespace device 115 } // namespace device
113 116
114 #endif // DEVICE_USB_USB_DEVICE_HANDLE_H_ 117 #endif // DEVICE_USB_USB_DEVICE_HANDLE_H_
OLDNEW
« no previous file with comments | « device/usb/mock_usb_device_handle.h ('k') | device/usb/usb_device_handle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698