| Index: chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h
|
| diff --git a/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h b/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h
|
| index f4f53ff4513d6d72bc8d3ee0cac1bd8ca23c83dd..eaae1ebe5ec72a1c98ae026c855dbf9bfabab947 100644
|
| --- a/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h
|
| +++ b/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h
|
| @@ -104,11 +104,12 @@ class MTPDeviceDelegateImplWin : 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;
|
|
|
| // Ensures the device is initialized for communication by doing a
|
|
|