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

Unified Diff: device/usb/usb_device_linux.h

Issue 2291983002: chromeos: Remove dbus::FileDescriptor from PermissionBrokerClient (Closed)
Patch Set: Address comments Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/serial/serial_io_handler.cc ('k') | device/usb/usb_device_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_device_linux.h
diff --git a/device/usb/usb_device_linux.h b/device/usb/usb_device_linux.h
index c2779584f0635676c37062f2a216d2f240f4d04a..59158786b0f61596ca3c9e1d1c7b3c585b9cc2cf 100644
--- a/device/usb/usb_device_linux.h
+++ b/device/usb/usb_device_linux.h
@@ -21,10 +21,6 @@ namespace base {
class SequencedTaskRunner;
}
-namespace dbus {
-class FileDescriptor;
-}
-
namespace device {
struct UsbConfigDescriptor;
@@ -64,13 +60,10 @@ class UsbDeviceLinux : public UsbDevice {
private:
#if defined(OS_CHROMEOS)
- void OnOpenRequestComplete(const OpenCallback& callback,
- dbus::FileDescriptor fd);
+ void OnOpenRequestComplete(const OpenCallback& callback, base::ScopedFD fd);
void OnOpenRequestError(const OpenCallback& callback,
const std::string& error_name,
const std::string& error_message);
- void OpenOnBlockingThreadWithFd(dbus::FileDescriptor fd,
- const OpenCallback& callback);
#else
void OpenOnBlockingThread(const OpenCallback& callback);
#endif // defined(OS_CHROMEOS)
« no previous file with comments | « device/serial/serial_io_handler.cc ('k') | device/usb/usb_device_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698