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

Unified Diff: chrome/browser/usb/usb_device.h

Issue 23475048: Fixes crashing in RequestUsbDevicesAccess (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/api/usb/usb_api.cc ('k') | chrome/browser/usb/usb_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/usb/usb_device.h
diff --git a/chrome/browser/usb/usb_device.h b/chrome/browser/usb/usb_device.h
index d89f679792fb7d22dd54e619db3d745debe5f2af..a8bd0a3240cec81252ca3afc17ea30948153d393 100644
--- a/chrome/browser/usb/usb_device.h
+++ b/chrome/browser/usb/usb_device.h
@@ -73,15 +73,6 @@ class UsbDevice : public base::RefCountedThreadSafe<UsbDevice> {
// Called only be UsbService.
virtual void OnDisconnect();
-#if defined(OS_CHROMEOS)
- // This method is called when permission broker replied our request.
- // We will simply relay it to FILE thread.
- // |callback| comes first because it will be base::Bind'ed.
- void OnRequestUsbAccessReplied(
- const base::Callback<void(bool success)>& callback,
- bool success);
-#endif // OS_CHROMEOS
-
private:
PlatformUsbDevice platform_device_;
uint16 vendor_id_;
« no previous file with comments | « chrome/browser/extensions/api/usb/usb_api.cc ('k') | chrome/browser/usb/usb_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698