| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 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. | |
| 7 | |
| 8 #ifndef CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_RESULTS_H_ | |
| 9 #define CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_RESULTS_H_ | |
| 10 | |
| 11 #include <vector> | |
| 12 | |
| 13 #include "base/files/file_path.h" | |
| 14 #include "components/safe_browsing/csd.pb.h" | |
| 15 | |
| 16 namespace safe_browsing { | |
| 17 namespace zip_analyzer { | |
| 18 | |
| 19 struct Results { | |
| 20 bool success; | |
| 21 bool has_executable; | |
| 22 bool has_archive; | |
| 23 google::protobuf::RepeatedPtrField<ClientDownloadRequest_ArchivedBinary> | |
| 24 archived_binary; | |
| 25 std::vector<base::FilePath> archived_archive_filenames; | |
| 26 Results(); | |
| 27 Results(const Results& other); | |
| 28 ~Results(); | |
| 29 }; | |
| 30 | |
| 31 } // namespace zip_analyzer | |
| 32 } // namespace safe_browsing | |
| 33 | |
| 34 #endif // CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_RESULTS_H_ | |
| OLD | NEW |