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 #include "chrome/common/safe_browsing/zip_analyzer.h" | 5 #include "chrome/common/safe_browsing/zip_analyzer.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include <set> | 10 #include <set> |
8 | 11 |
9 #include "base/i18n/streaming_utf8_validator.h" | 12 #include "base/i18n/streaming_utf8_validator.h" |
10 #include "base/logging.h" | 13 #include "base/logging.h" |
11 #include "base/macros.h" | 14 #include "base/macros.h" |
12 #include "chrome/common/safe_browsing/binary_feature_extractor.h" | 15 #include "chrome/common/safe_browsing/binary_feature_extractor.h" |
13 #include "chrome/common/safe_browsing/csd.pb.h" | 16 #include "chrome/common/safe_browsing/csd.pb.h" |
14 #include "chrome/common/safe_browsing/download_protection_util.h" | 17 #include "chrome/common/safe_browsing/download_protection_util.h" |
15 #include "chrome/common/safe_browsing/zip_analyzer_results.h" | 18 #include "chrome/common/safe_browsing/zip_analyzer_results.h" |
16 #include "crypto/secure_hash.h" | 19 #include "crypto/secure_hash.h" |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 DVLOG(3) << "Ignoring non-binary file: " << file.value(); | 128 DVLOG(3) << "Ignoring non-binary file: " << file.value(); |
126 } | 129 } |
127 } | 130 } |
128 results->archived_archive_filenames.assign(archived_archive_filenames.begin(), | 131 results->archived_archive_filenames.assign(archived_archive_filenames.begin(), |
129 archived_archive_filenames.end()); | 132 archived_archive_filenames.end()); |
130 results->success = true; | 133 results->success = true; |
131 } | 134 } |
132 | 135 |
133 } // namespace zip_analyzer | 136 } // namespace zip_analyzer |
134 } // namespace safe_browsing | 137 } // namespace safe_browsing |
OLD | NEW |