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

Side by Side Diff: chrome/browser/usb/usb_device_handle.h

Issue 156703006: Cleanup: Remove unneeded browser_thread.h includes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/usb/usb_context.cc ('k') | chrome/renderer/safe_browsing/DEPS » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_USB_USB_DEVICE_HANDLE_H_ 5 #ifndef CHROME_BROWSER_USB_USB_DEVICE_HANDLE_H_
6 #define CHROME_BROWSER_USB_USB_DEVICE_HANDLE_H_ 6 #define CHROME_BROWSER_USB_USB_DEVICE_HANDLE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "base/synchronization/lock.h" 13 #include "base/synchronization/lock.h"
14 #include "base/threading/thread_checker.h" 14 #include "base/threading/thread_checker.h"
15 #include "chrome/browser/usb/usb_interface.h" 15 #include "chrome/browser/usb/usb_interface.h"
16 #include "content/public/browser/browser_thread.h"
17 #include "net/base/completion_callback.h" 16 #include "net/base/completion_callback.h"
18 #include "net/base/io_buffer.h" 17 #include "net/base/io_buffer.h"
19 18
20 struct libusb_device_handle; 19 struct libusb_device_handle;
21 struct libusb_iso_packet_descriptor; 20 struct libusb_iso_packet_descriptor;
22 struct libusb_transfer; 21 struct libusb_transfer;
23 22
24 typedef libusb_device_handle* PlatformUsbDeviceHandle; 23 typedef libusb_device_handle* PlatformUsbDeviceHandle;
25 typedef libusb_iso_packet_descriptor* PlatformUsbIsoPacketDescriptor; 24 typedef libusb_iso_packet_descriptor* PlatformUsbIsoPacketDescriptor;
26 typedef libusb_transfer* PlatformUsbTransferHandle; 25 typedef libusb_transfer* PlatformUsbTransferHandle;
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 // Retain the UsbContext so that the platform context will not be destroyed 176 // Retain the UsbContext so that the platform context will not be destroyed
178 // before this handle. 177 // before this handle.
179 scoped_refptr<UsbContext> context_; 178 scoped_refptr<UsbContext> context_;
180 179
181 base::ThreadChecker thread_checker_; 180 base::ThreadChecker thread_checker_;
182 181
183 DISALLOW_COPY_AND_ASSIGN(UsbDeviceHandle); 182 DISALLOW_COPY_AND_ASSIGN(UsbDeviceHandle);
184 }; 183 };
185 184
186 #endif // CHROME_BROWSER_USB_USB_DEVICE_HANDLE_H_ 185 #endif // CHROME_BROWSER_USB_USB_DEVICE_HANDLE_H_
OLDNEW
« no previous file with comments | « chrome/browser/usb/usb_context.cc ('k') | chrome/renderer/safe_browsing/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698