// Copyright (c) 2012 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_ #include "base/platform_file.h" namespace safe_browsing { namespace zip_analyzer { struct Results { bool success; bool has_executable; bool has_archive; Results() : success(false), has_executable(false), has_archive(false) {} }; void AnalyzeZipFile(base::PlatformFile zip_file, Results* results); } // namespace zip_analyzer } // namespace safe_browsing #endif // CHROME_COMMON_SAFE_BROWSING_ZIP_ANALYZER_H_