chromium/chrome/browser/media/webrtc/webrtc_event_log_manager_unittest_helpers.cc

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

#include "chrome/browser/media/webrtc/webrtc_event_log_manager_unittest_helpers.h"

#include "base/check.h"
#include "base/files/file_util.h"
#include "base/notreached.h"
#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace webrtc_event_logging {

// Produce a LogFileWriter::Factory object.
std::unique_ptr<LogFileWriter::Factory> CreateLogFileWriterFactory(
    WebRtcEventLogCompression compression) {}

#if BUILDFLAG(IS_POSIX)
void RemoveWritePermissions(const base::FilePath& path) {}
#endif  // BUILDFLAG(IS_POSIX)

std::unique_ptr<CompressedSizeEstimator> NullEstimator::Factory::Create()
    const {}

size_t NullEstimator::EstimateCompressedSize(const std::string& input) const {}

std::unique_ptr<CompressedSizeEstimator> PerfectGzipEstimator::Factory::Create()
    const {}

PerfectGzipEstimator::PerfectGzipEstimator() {}

PerfectGzipEstimator::~PerfectGzipEstimator() = default;

size_t PerfectGzipEstimator::EstimateCompressedSize(
    const std::string& input) const {}

size_t GzippedSize(const std::string& uncompressed) {}

size_t GzippedSize(const std::vector<std::string>& uncompressed) {}

}  // namespace webrtc_event_logging