| 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 #include "chrome/utility/safe_browsing/mac/dmg_analyzer.h" | 5 #include "chrome/utility/safe_browsing/mac/dmg_analyzer.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
| 7 #include <vector> | 10 #include <vector> |
| 8 | 11 |
| 9 #include "base/macros.h" | 12 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
| 12 #include "chrome/common/safe_browsing/binary_feature_extractor.h" | 15 #include "chrome/common/safe_browsing/binary_feature_extractor.h" |
| 13 #include "chrome/common/safe_browsing/csd.pb.h" | 16 #include "chrome/common/safe_browsing/csd.pb.h" |
| 14 #include "chrome/common/safe_browsing/mach_o_image_reader_mac.h" | 17 #include "chrome/common/safe_browsing/mach_o_image_reader_mac.h" |
| 15 #include "chrome/utility/safe_browsing/mac/dmg_iterator.h" | 18 #include "chrome/utility/safe_browsing/mac/dmg_iterator.h" |
| 16 #include "chrome/utility/safe_browsing/mac/read_stream.h" | 19 #include "chrome/utility/safe_browsing/mac/read_stream.h" |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 } else { | 143 } else { |
| 141 results->archived_binary.RemoveLast(); | 144 results->archived_binary.RemoveLast(); |
| 142 } | 145 } |
| 143 } | 146 } |
| 144 | 147 |
| 145 results->success = true; | 148 results->success = true; |
| 146 } | 149 } |
| 147 | 150 |
| 148 } // namespace dmg | 151 } // namespace dmg |
| 149 } // namespace safe_browsing | 152 } // namespace safe_browsing |
| OLD | NEW |