blob: cc091e9a94c88e9ac401b5779c0f952b8d00e0f2 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h"
#include "net/base/io_buffer.h"
MTPDeviceAsyncDelegate::ReadBytesRequest::ReadBytesRequest(
uint32 file_id, net::IOBuffer* buf, int64 offset, int buf_len,
const ReadBytesSuccessCallback& success_callback,
const ErrorCallback& error_callback)
: file_id(file_id),
buf(buf),
offset(offset),
buf_len(buf_len),
success_callback(success_callback),
error_callback(error_callback) {
}
MTPDeviceAsyncDelegate::ReadBytesRequest::~ReadBytesRequest() {}