| Index: chrome/browser/extensions/api/usb/usb_device_resource.h
|
| diff --git a/chrome/browser/extensions/api/usb/usb_device_resource.h b/chrome/browser/extensions/api/usb/usb_device_resource.h
|
| index a757304faaa8d67d347e2587db285716dc255f20..6abb69820b4d3462c8175813fdd922993ccefb50 100644
|
| --- a/chrome/browser/extensions/api/usb/usb_device_resource.h
|
| +++ b/chrome/browser/extensions/api/usb/usb_device_resource.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/memory/linked_ptr.h"
|
| +#include "base/memory/ref_counted.h"
|
| #include "base/synchronization/lock.h"
|
| #include "chrome/browser/extensions/api/api_resource.h"
|
| #include "chrome/browser/usb/usb_device.h"
|
| @@ -50,8 +51,9 @@ class UsbDeviceResource : public ApiResource {
|
| private:
|
| // Invoked by the underlying device's transfer callbacks. Indicates transfer
|
| // completion to the ApiResource's event notifier.
|
| - void TransferComplete(net::IOBuffer* buffer, const size_t length,
|
| - UsbTransferStatus status);
|
| + void TransferComplete(UsbTransferStatus status,
|
| + scoped_refptr<net::IOBuffer> buffer,
|
| + size_t length);
|
|
|
| scoped_refptr<UsbDevice> device_;
|
|
|
|
|