Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / common / safe_browsing / zip_analyzer.h
blob7c8c373043733de884f1068b18d48f5f4cb779a0
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 //
5 // This file contains the zip file analysis implementation for download
6 // protection, which runs in a sandboxed utility process.
8 #ifndef CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_H_
9 #define CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_H_
11 #include "base/files/file.h"
12 #include "chrome/common/safe_browsing/csd.pb.h"
14 namespace safe_browsing {
15 namespace zip_analyzer {
17 struct Results;
19 void AnalyzeZipFile(base::File zip_file,
20 base::File temp_file,
21 Results* results);
23 } // namespace zip_analyzer
24 } // namespace safe_browsing
26 #endif // CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_H_