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

Unified Diff: chrome/common/safe_browsing/zip_analyzer.h

Issue 999003003: Include attributes of zipped binaries in ClientDownloadRequests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@zip2
Patch Set: fix ordering of SandboxedZipAnalyzer methods Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/safe_browsing/zip_analyzer.h
diff --git a/chrome/common/safe_browsing/zip_analyzer.h b/chrome/common/safe_browsing/zip_analyzer.h
index b88a8e69f45e90635a3e6be6931bb3be9bd50674..7c8c373043733de884f1068b18d48f5f4cb779a0 100644
--- a/chrome/common/safe_browsing/zip_analyzer.h
+++ b/chrome/common/safe_browsing/zip_analyzer.h
@@ -9,19 +9,16 @@
#define CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_H_
#include "base/files/file.h"
+#include "chrome/common/safe_browsing/csd.pb.h"
namespace safe_browsing {
namespace zip_analyzer {
-struct Results {
- bool success;
- bool has_executable;
- bool has_archive;
+struct Results;
- Results() : success(false), has_executable(false), has_archive(false) {}
-};
-
-void AnalyzeZipFile(base::File zip_file, Results* results);
+void AnalyzeZipFile(base::File zip_file,
+ base::File temp_file,
+ Results* results);
} // namespace zip_analyzer
} // namespace safe_browsing

Powered by Google App Engine
This is Rietveld 408576698