Index: chrome/common/safe_browsing/zip_analyzer_results.h |
diff --git a/chrome/common/safe_browsing/zip_analyzer.h b/chrome/common/safe_browsing/zip_analyzer_results.h |
similarity index 50% |
copy from chrome/common/safe_browsing/zip_analyzer.h |
copy to chrome/common/safe_browsing/zip_analyzer_results.h |
index b88a8e69f45e90635a3e6be6931bb3be9bd50674..b1d0be3fb3dbfc605f26531469d975153347d5ad 100644 |
--- a/chrome/common/safe_browsing/zip_analyzer.h |
+++ b/chrome/common/safe_browsing/zip_analyzer_results.h |
@@ -1,14 +1,14 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
// 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 |
// protection, which runs in a sandboxed utility process. |
-#ifndef CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_H_ |
-#define CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_H_ |
+#ifndef CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_RESULTS_H_ |
+#define CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_RESULTS_H_ |
-#include "base/files/file.h" |
+#include "chrome/common/safe_browsing/csd.pb.h" |
namespace safe_browsing { |
namespace zip_analyzer { |
@@ -17,13 +17,13 @@ struct Results { |
bool success; |
bool has_executable; |
bool has_archive; |
- |
- Results() : success(false), has_executable(false), has_archive(false) {} |
+ google::protobuf::RepeatedPtrField<ClientDownloadRequest_ArchivedBinary> |
+ archived_binary; |
+ Results(); |
+ ~Results(); |
}; |
-void AnalyzeZipFile(base::File zip_file, Results* results); |
- |
} // namespace zip_analyzer |
} // namespace safe_browsing |
-#endif // CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_H_ |
+#endif // CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_RESULTS_H_ |