This source file includes following definitions.
- error_callback
#include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h"
#include "net/base/io_buffer.h"
MTPDeviceAsyncDelegate::ReadBytesRequest::ReadBytesRequest(
const std::string& device_file_relative_path,
net::IOBuffer* buf, int64 offset, int buf_len,
const ReadBytesSuccessCallback& success_callback,
const ErrorCallback& error_callback)
: device_file_relative_path(device_file_relative_path),
buf(buf),
offset(offset),
buf_len(buf_len),
success_callback(success_callback),
error_callback(error_callback) {
}
MTPDeviceAsyncDelegate::ReadBytesRequest::~ReadBytesRequest() {}