Chromium Code Reviews| Index: chrome/common/safe_browsing/archive_analyzer_results.h |
| diff --git a/chrome/common/safe_browsing/zip_analyzer_results.h b/chrome/common/safe_browsing/archive_analyzer_results.h |
| similarity index 71% |
| rename from chrome/common/safe_browsing/zip_analyzer_results.h |
| rename to chrome/common/safe_browsing/archive_analyzer_results.h |
| index efddbefc179963c90ee255284c5ed58ae8a94b35..857c2c6d6aa7adfdb4a546577eda024e4ad3146a 100644 |
| --- a/chrome/common/safe_browsing/zip_analyzer_results.h |
| +++ b/chrome/common/safe_browsing/archive_analyzer_results.h |
| @@ -2,7 +2,7 @@ |
| // 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 |
| +// This file contains the archive analyzer analysis implementation for download |
| // protection, which runs in a sandboxed utility process. |
| #ifndef CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_RESULTS_H_ |
|
Jialiu Lin
2017/05/23 02:12:05
update #ifndef and #define as well.
mortonm
2017/05/23 16:29:43
Done.
|
| @@ -14,21 +14,19 @@ |
| #include "components/safe_browsing/csd.pb.h" |
| namespace safe_browsing { |
| -namespace zip_analyzer { |
| -struct Results { |
| +struct ArchiveAnalyzerResults { |
| bool success; |
| bool has_executable; |
| bool has_archive; |
| google::protobuf::RepeatedPtrField<ClientDownloadRequest_ArchivedBinary> |
| archived_binary; |
| std::vector<base::FilePath> archived_archive_filenames; |
| - Results(); |
| - Results(const Results& other); |
| - ~Results(); |
| + ArchiveAnalyzerResults(); |
| + ArchiveAnalyzerResults(const ArchiveAnalyzerResults& other); |
| + ~ArchiveAnalyzerResults(); |
| }; |
| -} // namespace zip_analyzer |
| } // namespace safe_browsing |
| -#endif // CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_RESULTS_H_ |
| +#endif // CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_RESULTS_H_ |
|
Jialiu Lin
2017/05/23 02:12:05
And the comment
mortonm
2017/05/23 16:29:43
Done.
|