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_COMMON_SAFE_BROWSING_MACH_O_IMAGE_READER_MAC_H_ | 5 #ifndef CHROME_COMMON_SAFE_BROWSING_MACH_O_IMAGE_READER_MAC_H_ |
6 #define CHROME_COMMON_SAFE_BROWSING_MACH_O_IMAGE_READER_MAC_H_ | 6 #define CHROME_COMMON_SAFE_BROWSING_MACH_O_IMAGE_READER_MAC_H_ |
7 | 7 |
8 #include <mach-o/loader.h> | 8 #include <mach-o/loader.h> |
| 9 #include <stddef.h> |
9 #include <stdint.h> | 10 #include <stdint.h> |
10 | 11 |
11 #include <vector> | 12 #include <vector> |
12 | 13 |
13 #include "base/logging.h" | 14 #include "base/logging.h" |
14 #include "base/macros.h" | 15 #include "base/macros.h" |
15 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
16 #include "base/memory/scoped_vector.h" | 17 #include "base/memory/scoped_vector.h" |
17 | 18 |
18 namespace safe_browsing { | 19 namespace safe_browsing { |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 98 |
98 bool is_64_bit_; | 99 bool is_64_bit_; |
99 std::vector<LoadCommand> commands_; | 100 std::vector<LoadCommand> commands_; |
100 | 101 |
101 DISALLOW_COPY_AND_ASSIGN(MachOImageReader); | 102 DISALLOW_COPY_AND_ASSIGN(MachOImageReader); |
102 }; | 103 }; |
103 | 104 |
104 } // namespace safe_browsing | 105 } // namespace safe_browsing |
105 | 106 |
106 #endif // CHROME_COMMON_SAFE_BROWSING_MACH_O_IMAGE_READER_MAC_H_ | 107 #endif // CHROME_COMMON_SAFE_BROWSING_MACH_O_IMAGE_READER_MAC_H_ |
OLD | NEW |