#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "chrome/services/file_util/single_file_tar_file_extractor.h"
#include <utility>
#include <vector>
#include "base/containers/span.h"
#include "chrome/services/file_util/public/mojom/constants.mojom.h"
#include "chrome/services/file_util/single_file_tar_reader.h"
namespace {
constexpr int kTarBufferSize = …;
class TarExtractorInner { … };
}
SingleFileTarFileExtractor::SingleFileTarFileExtractor() = default;
SingleFileTarFileExtractor::~SingleFileTarFileExtractor() = default;
void SingleFileTarFileExtractor::Extract(
base::File src_file,
base::File dst_file,
mojo::PendingRemote<chrome::mojom::SingleFileExtractorListener>
pending_listener,
SingleFileExtractor::ExtractCallback callback) { … }