Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Side by Side Diff: chrome/common/safe_browsing/archive_analyzer_results.h

Issue 2900803002: Renaming zip_analyzer_results to archive_analyzer_results (Closed)
Patch Set: minor revisions Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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 archive analyzer 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_RESULTS_H_ 8 #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.
9 #define CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_RESULTS_H_ 9 #define CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_RESULTS_H_
10 10
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "components/safe_browsing/csd.pb.h" 14 #include "components/safe_browsing/csd.pb.h"
15 15
16 namespace safe_browsing { 16 namespace safe_browsing {
17 namespace zip_analyzer {
18 17
19 struct Results { 18 struct ArchiveAnalyzerResults {
20 bool success; 19 bool success;
21 bool has_executable; 20 bool has_executable;
22 bool has_archive; 21 bool has_archive;
23 google::protobuf::RepeatedPtrField<ClientDownloadRequest_ArchivedBinary> 22 google::protobuf::RepeatedPtrField<ClientDownloadRequest_ArchivedBinary>
24 archived_binary; 23 archived_binary;
25 std::vector<base::FilePath> archived_archive_filenames; 24 std::vector<base::FilePath> archived_archive_filenames;
26 Results(); 25 ArchiveAnalyzerResults();
27 Results(const Results& other); 26 ArchiveAnalyzerResults(const ArchiveAnalyzerResults& other);
28 ~Results(); 27 ~ArchiveAnalyzerResults();
29 }; 28 };
30 29
31 } // namespace zip_analyzer
32 } // namespace safe_browsing 30 } // namespace safe_browsing
33 31
34 #endif // CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_RESULTS_H_ 32 #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.
OLDNEW
« no previous file with comments | « chrome/common/safe_archive_analyzer.typemap ('k') | chrome/common/safe_browsing/archive_analyzer_results.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698