OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // This file contains the zip file analysis implementation for download | 5 // This file contains the zip file analysis implementation for download |
6 // protection, which runs in a sandboxed utility process. | 6 // protection, which runs in a sandboxed utility process. |
7 | 7 |
8 #ifndef CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_H_ | 8 #ifndef CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_H_ |
9 #define CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_H_ | 9 #define CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_H_ |
10 | 10 |
11 #include "base/files/file.h" | 11 #include "base/files/file.h" |
12 #include "chrome/common/safe_browsing/csd.pb.h" | 12 #include "components/safe_browsing/csd.pb.h" |
13 | 13 |
14 namespace safe_browsing { | 14 namespace safe_browsing { |
15 namespace zip_analyzer { | 15 namespace zip_analyzer { |
16 | 16 |
17 struct Results; | 17 struct Results; |
18 | 18 |
19 void AnalyzeZipFile(base::File zip_file, | 19 void AnalyzeZipFile(base::File zip_file, |
20 base::File temp_file, | 20 base::File temp_file, |
21 Results* results); | 21 Results* results); |
22 | 22 |
23 } // namespace zip_analyzer | 23 } // namespace zip_analyzer |
24 } // namespace safe_browsing | 24 } // namespace safe_browsing |
25 | 25 |
26 #endif // CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_H_ | 26 #endif // CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_H_ |
OLD | NEW |