| Index: chrome/browser/media_galleries/linux/mtp_device_task_helper.h
|
| diff --git a/chrome/browser/media_galleries/linux/mtp_device_task_helper.h b/chrome/browser/media_galleries/linux/mtp_device_task_helper.h
|
| index 9c1a8f6d8fd0634f9473c536076cd58b65ff616b..c1f5539cdee5e93ef98122f0110b9369db3bc143 100644
|
| --- a/chrome/browser/media_galleries/linux/mtp_device_task_helper.h
|
| +++ b/chrome/browser/media_galleries/linux/mtp_device_task_helper.h
|
| @@ -137,6 +137,12 @@ class MTPDeviceTaskHelper {
|
| const std::vector<MtpFileEntry>& file_entries,
|
| bool error) const;
|
|
|
| + // Intermediate step to finish a ReadBytes request.
|
| + void OnGetFileInfoToReadBytes(
|
| + const MTPDeviceAsyncDelegate::ReadBytesRequest& request,
|
| + const MtpFileEntry& file_entry,
|
| + bool error);
|
| +
|
| // Query callback for ReadBytes();
|
| //
|
| // If there is no error, |error| is set to false, the buffer within |request|
|
| @@ -148,6 +154,7 @@ class MTPDeviceTaskHelper {
|
| // IO thread to notify the caller.
|
| void OnDidReadBytes(
|
| const MTPDeviceAsyncDelegate::ReadBytesRequest& request,
|
| + const base::File::Info& file_info,
|
| const std::string& data,
|
| bool error) const;
|
|
|
|
|