#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "chrome/services/file_util/single_file_tar_reader.h"
#include <memory>
#include <vector>
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/numerics/safe_conversions.h"
#include "base/path_service.h"
#include "chrome/common/chrome_paths.h"
#include "testing/gtest/include/gtest/gtest.h"
constexpr int kTarBufferSize = …;
class SingleFileTarReaderTest : public testing::Test { … };
TEST_F(SingleFileTarReaderTest, ExtractTarFile) { … }
TEST_F(SingleFileTarReaderTest, ReadOctalNumber) { … }
TEST_F(SingleFileTarReaderTest, EmptyFile) { … }