OLD | NEW |
1 // Copyright (c) 2010 Google Inc. | 1 // Copyright (c) 2010 Google Inc. |
2 // All rights reserved. | 2 // All rights reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // * Redistributions of source code must retain the above copyright | 8 // * Redistributions of source code must retain the above copyright |
9 // notice, this list of conditions and the following disclaimer. | 9 // notice, this list of conditions and the following disclaimer. |
10 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 81 |
82 #ifndef _WIN32 | 82 #ifndef _WIN32 |
83 #include <unistd.h> | 83 #include <unistd.h> |
84 #endif | 84 #endif |
85 | 85 |
86 #include <iostream> | 86 #include <iostream> |
87 #include <map> | 87 #include <map> |
88 #include <string> | 88 #include <string> |
89 #include <vector> | 89 #include <vector> |
90 | 90 |
| 91 #include "common/using_std_string.h" |
91 #include "google_breakpad/common/minidump_format.h" | 92 #include "google_breakpad/common/minidump_format.h" |
92 #include "google_breakpad/processor/code_module.h" | 93 #include "google_breakpad/processor/code_module.h" |
93 #include "google_breakpad/processor/code_modules.h" | 94 #include "google_breakpad/processor/code_modules.h" |
94 #include "google_breakpad/processor/memory_region.h" | 95 #include "google_breakpad/processor/memory_region.h" |
95 | 96 |
96 | 97 |
97 namespace google_breakpad { | 98 namespace google_breakpad { |
98 | 99 |
99 | 100 |
100 using std::map; | 101 using std::map; |
101 using std::string; | |
102 using std::vector; | 102 using std::vector; |
103 | 103 |
104 | 104 |
105 class Minidump; | 105 class Minidump; |
106 template<typename AddressType, typename EntryType> class RangeMap; | 106 template<typename AddressType, typename EntryType> class RangeMap; |
107 | 107 |
108 | 108 |
109 // MinidumpObject is the base of all Minidump* objects except for Minidump | 109 // MinidumpObject is the base of all Minidump* objects except for Minidump |
110 // itself. | 110 // itself. |
111 class MinidumpObject { | 111 class MinidumpObject { |
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1023 // construction or after a failed Read(); true following a successful | 1023 // construction or after a failed Read(); true following a successful |
1024 // Read(). | 1024 // Read(). |
1025 bool valid_; | 1025 bool valid_; |
1026 }; | 1026 }; |
1027 | 1027 |
1028 | 1028 |
1029 } // namespace google_breakpad | 1029 } // namespace google_breakpad |
1030 | 1030 |
1031 | 1031 |
1032 #endif // GOOGLE_BREAKPAD_PROCESSOR_MINIDUMP_H__ | 1032 #endif // GOOGLE_BREAKPAD_PROCESSOR_MINIDUMP_H__ |
OLD | NEW |