chromium/chrome/services/file_util/single_file_tar_reader.h

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_SERVICES_FILE_UTIL_SINGLE_FILE_TAR_READER_H_
#define CHROME_SERVICES_FILE_UTIL_SINGLE_FILE_TAR_READER_H_

#include <optional>

#include "base/containers/span.h"
#include "base/gtest_prod_util.h"
#include "chrome/services/file_util/public/mojom/constants.mojom.h"

class SingleFileTarReaderTest;

// SingleFileTarReader is a reader of tar archives with limited function. It
// only supports a tar archive with a single file entry.
// TODO(b/254591810): Reject an archive with multiple files.
class SingleFileTarReader {};

#endif  // CHROME_SERVICES_FILE_UTIL_SINGLE_FILE_TAR_READER_H_