#include "chrome/utility/safe_browsing/zip_analyzer.h"
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include <set>
#include "base/logging.h"
#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
#include "base/numerics/checked_math.h"
#include "base/rand_util.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "chrome/common/safe_browsing/archive_analyzer_results.h"
#include "components/safe_browsing/content/common/file_type_policies.h"
#include "components/safe_browsing/core/common/features.h"
#include "components/safe_browsing/core/common/proto/csd.pb.h"
#include "third_party/zlib/google/zip_reader.h"
namespace safe_browsing {
namespace {
class WriterDelegate : public zip::FileWriterDelegate { … };
}
ZipAnalyzer::ZipAnalyzer() = default;
ZipAnalyzer::~ZipAnalyzer() = default;
void ZipAnalyzer::Init() { … }
bool ZipAnalyzer::ResumeExtraction() { … }
base::WeakPtr<ArchiveAnalyzer> ZipAnalyzer::GetWeakPtr() { … }
void ZipAnalyzer::OnGetTempFile(base::File temp_file) { … }
}