Index: chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h |
diff --git a/chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h b/chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h |
index 81360042838a573354aff540868b4b92993b4f59..81e089e0032396f860e7fbe43ebb9c2ddb96ffaa 100644 |
--- a/chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h |
+++ b/chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h |
@@ -85,11 +85,12 @@ class MTPDeviceDelegateImplLinux : public MTPDeviceAsyncDelegate { |
const CreateSnapshotFileSuccessCallback& success_callback, |
const ErrorCallback& error_callback) OVERRIDE; |
virtual bool IsStreaming() OVERRIDE; |
- virtual void ReadBytes( |
- const base::FilePath& device_file_path, |
- net::IOBuffer* buf, int64 offset, int buf_len, |
- const ReadBytesSuccessCallback& success_callback, |
- const ErrorCallback& error_callback) OVERRIDE; |
+ virtual void ReadBytes(const base::FilePath& device_file_path, |
+ const scoped_refptr<net::IOBuffer>& buf, |
+ int64 offset, |
+ int buf_len, |
+ const ReadBytesSuccessCallback& success_callback, |
+ const ErrorCallback& error_callback) OVERRIDE; |
virtual void CancelPendingTasksAndDeleteDelegate() OVERRIDE; |
// The internal methods correspond to the similarly named methods above. |