chromium/third_party/zlib/google/zip_writer.cc

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

#include "third_party/zlib/google/zip_writer.h"

#include <algorithm>

#include "base/files/file.h"
#include "base/logging.h"
#include "base/strings/strcat.h"
#include "base/strings/string_util.h"
#include "third_party/zlib/google/redact.h"
#include "third_party/zlib/google/zip_internal.h"

namespace zip {
namespace internal {

bool ZipWriter::ShouldContinue() {}

bool ZipWriter::AddFileContent(const base::FilePath& path, base::File file) {}

bool ZipWriter::OpenNewFileEntry(const base::FilePath& path,
                                 bool is_directory,
                                 base::Time last_modified) {}

bool ZipWriter::CloseNewFileEntry() {}

bool ZipWriter::AddFileEntry(const base::FilePath& path, base::File file) {}

bool ZipWriter::AddDirectoryEntry(const base::FilePath& path) {}

#if defined(OS_POSIX) || defined(OS_FUCHSIA)
// static
std::unique_ptr<ZipWriter> ZipWriter::CreateWithFd(
    int zip_file_fd,
    FileAccessor* file_accessor) {}
#endif

// static
std::unique_ptr<ZipWriter> ZipWriter::Create(
    const base::FilePath& zip_file_path,
    FileAccessor* file_accessor) {}

ZipWriter::ZipWriter(zipFile zip_file, FileAccessor* file_accessor)
    :{}

ZipWriter::~ZipWriter() {}

bool ZipWriter::Close() {}

bool ZipWriter::AddMixedEntries(Paths paths) {}

bool ZipWriter::AddFileEntries(Paths paths) {}

bool ZipWriter::AddDirectoryEntries(Paths paths) {}

bool ZipWriter::AddDirectoryContents(const base::FilePath& path) {}

void ZipWriter::Filter(std::vector<base::FilePath>* const paths) {}

}  // namespace internal
}  // namespace zip