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

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

Issue 2733343002: Move chrome/common/safe_browsing/csd.proto to components/safe_browsing (Closed)
Patch Set: rebase again Created 3 years, 9 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
« no previous file with comments | « chrome/common/safe_browsing/zip_analyzer.cc ('k') | chrome/renderer/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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_RESULTS_H_ 8 #ifndef CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_RESULTS_H_
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 "chrome/common/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 { 17 namespace zip_analyzer {
18 18
19 struct Results { 19 struct Results {
20 bool success; 20 bool success;
21 bool has_executable; 21 bool has_executable;
22 bool has_archive; 22 bool has_archive;
23 google::protobuf::RepeatedPtrField<ClientDownloadRequest_ArchivedBinary> 23 google::protobuf::RepeatedPtrField<ClientDownloadRequest_ArchivedBinary>
24 archived_binary; 24 archived_binary;
25 std::vector<base::FilePath> archived_archive_filenames; 25 std::vector<base::FilePath> archived_archive_filenames;
26 Results(); 26 Results();
27 Results(const Results& other); 27 Results(const Results& other);
28 ~Results(); 28 ~Results();
29 }; 29 };
30 30
31 } // namespace zip_analyzer 31 } // namespace zip_analyzer
32 } // namespace safe_browsing 32 } // namespace safe_browsing
33 33
34 #endif // CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_RESULTS_H_ 34 #endif // CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_RESULTS_H_
OLDNEW
« no previous file with comments | « chrome/common/safe_browsing/zip_analyzer.cc ('k') | chrome/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698