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 1534b0d86394bfcf3bf1e1274e6eda872dcd3a92..890982a5f721204d2437e5b8b8c44ff612efdffd 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 |
@@ -136,10 +136,6 @@ class MTPDeviceDelegateImplLinux : public MTPDeviceAsyncDelegate { |
scoped_ptr<SnapshotRequestInfo> snapshot_request_info, |
const base::File::Info& file_info); |
- // Called when GetFileInfo() succeeds to read a range of bytes. |
- void OnDidGetFileInfoToReadBytes(const ReadBytesRequest& request, |
- const base::File::Info& file_info); |
- |
// Called when ReadDirectory() succeeds. |
// |
// |file_list| contains the directory file entries. |
@@ -171,7 +167,7 @@ class MTPDeviceDelegateImplLinux : public MTPDeviceAsyncDelegate { |
// |success_callback| is invoked to notify the caller about the read bytes. |
// |bytes_read| is the number of bytes read. |
void OnDidReadBytes(const ReadBytesSuccessCallback& success_callback, |
- int bytes_read); |
+ const base::File::Info& file_info, int bytes_read); |
// Handles the device file |error|. |error_callback| is invoked to notify the |
// caller about the file error. |