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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
72 // | 72 // |
73 // There is one exception to this memory management policy: | 73 // There is one exception to this memory management policy: |
74 // Minidump::ReadString will return a string object to the user, and the user | 74 // Minidump::ReadString will return a string object to the user, and the user |
75 // is responsible for its deletion. | 75 // is responsible for its deletion. |
76 // | 76 // |
77 // Author: Mark Mentovai | 77 // Author: Mark Mentovai |
78 | 78 |
79 #ifndef GOOGLE_BREAKPAD_PROCESSOR_MINIDUMP_H__ | 79 #ifndef GOOGLE_BREAKPAD_PROCESSOR_MINIDUMP_H__ |
80 #define GOOGLE_BREAKPAD_PROCESSOR_MINIDUMP_H__ | 80 #define GOOGLE_BREAKPAD_PROCESSOR_MINIDUMP_H__ |
81 | 81 |
82 #include <stdint.h> | |
Lei Zhang
2015/07/15 17:07:29
Is this here by accident?
| |
83 | |
82 #ifndef _WIN32 | 84 #ifndef _WIN32 |
83 #include <unistd.h> | 85 #include <unistd.h> |
84 #endif | 86 #endif |
85 | 87 |
86 #include <iostream> | 88 #include <iostream> |
87 #include <map> | 89 #include <map> |
88 #include <string> | 90 #include <string> |
89 #include <vector> | 91 #include <vector> |
90 | 92 |
91 #include "common/using_std_string.h" | 93 #include "common/using_std_string.h" |
(...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1021 // construction or after a failed Read(); true following a successful | 1023 // construction or after a failed Read(); true following a successful |
1022 // Read(). | 1024 // Read(). |
1023 bool valid_; | 1025 bool valid_; |
1024 }; | 1026 }; |
1025 | 1027 |
1026 | 1028 |
1027 } // namespace google_breakpad | 1029 } // namespace google_breakpad |
1028 | 1030 |
1029 | 1031 |
1030 #endif // GOOGLE_BREAKPAD_PROCESSOR_MINIDUMP_H__ | 1032 #endif // GOOGLE_BREAKPAD_PROCESSOR_MINIDUMP_H__ |
OLD | NEW |