summaryrefslogtreecommitdiffstats
path: root/chrome/common/safe_browsing/zip_analyzer.h
blob: 7c8c373043733de884f1068b18d48f5f4cb779a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// This file contains the zip file analysis implementation for download
// protection, which runs in a sandboxed utility process.

#ifndef CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_H_
#define CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_H_

#include "base/files/file.h"
#include "chrome/common/safe_browsing/csd.pb.h"

namespace safe_browsing {
namespace zip_analyzer {

struct Results;

void AnalyzeZipFile(base::File zip_file,
                    base::File temp_file,
                    Results* results);

}  // namespace zip_analyzer
}  // namespace safe_browsing

#endif  // CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_H_