| OLD | NEW |
| 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 #ifndef CHROME_UTILITY_SAFE_BROWSING_MAC_DMG_ANALYZER_H_ | 5 #ifndef CHROME_UTILITY_SAFE_BROWSING_MAC_DMG_ANALYZER_H_ |
| 6 #define CHROME_UTILITY_SAFE_BROWSING_MAC_DMG_ANALYZER_H_ | 6 #define CHROME_UTILITY_SAFE_BROWSING_MAC_DMG_ANALYZER_H_ |
| 7 | 7 |
| 8 #include "base/files/file.h" | 8 #include "base/files/file.h" |
| 9 #include "chrome/common/safe_browsing/zip_analyzer_results.h" | 9 #include "chrome/common/safe_browsing/archive_analyzer_results.h" |
| 10 | 10 |
| 11 namespace safe_browsing { | 11 namespace safe_browsing { |
| 12 namespace dmg { | 12 namespace dmg { |
| 13 | 13 |
| 14 // Analyzes a DMG file and reports the results. | 14 void AnalyzeDMGFile(base::File dmg_file, ArchiveAnalyzerResults* results); |
| 15 // TODO(rsesek): Rename zip_analyzer::Results to something more generic. | |
| 16 void AnalyzeDMGFile(base::File dmg_file, | |
| 17 safe_browsing::zip_analyzer::Results* results); | |
| 18 | |
| 19 | 15 |
| 20 } // namespace dmg | 16 } // namespace dmg |
| 21 } // namespace safe_browsing | 17 } // namespace safe_browsing |
| 22 | 18 |
| 23 #endif // CHROME_UTILITY_SAFE_BROWSING_MAC_DMG_ANALYZER_H_ | 19 #endif // CHROME_UTILITY_SAFE_BROWSING_MAC_DMG_ANALYZER_H_ |
| OLD | NEW |