OLD | NEW |
1 // Copyright 2015 The Crashpad Authors. All rights reserved. | 1 // Copyright 2015 The Crashpad Authors. All rights reserved. |
2 // | 2 // |
3 // Licensed under the Apache License, Version 2.0 (the "License"); | 3 // Licensed under the Apache License, Version 2.0 (the "License"); |
4 // you may not use this file except in compliance with the License. | 4 // you may not use this file except in compliance with the License. |
5 // You may obtain a copy of the License at | 5 // You may obtain a copy of the License at |
6 // | 6 // |
7 // http://www.apache.org/licenses/LICENSE-2.0 | 7 // http://www.apache.org/licenses/LICENSE-2.0 |
8 // | 8 // |
9 // Unless required by applicable law or agreed to in writing, software | 9 // Unless required by applicable law or agreed to in writing, software |
10 // distributed under the License is distributed on an "AS IS" BASIS, | 10 // distributed under the License is distributed on an "AS IS" BASIS, |
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 // See the License for the specific language governing permissions and | 12 // See the License for the specific language governing permissions and |
13 // limitations under the License. | 13 // limitations under the License. |
14 | 14 |
15 #ifndef CRASHPAD_SNAPSHOT_MINIDUMP_PROCESS_SNAPSHOT_MINIDUMP_H_ | 15 #ifndef CRASHPAD_SNAPSHOT_MINIDUMP_PROCESS_SNAPSHOT_MINIDUMP_H_ |
16 #define CRASHPAD_SNAPSHOT_MINIDUMP_PROCESS_SNAPSHOT_MINIDUMP_H_ | 16 #define CRASHPAD_SNAPSHOT_MINIDUMP_PROCESS_SNAPSHOT_MINIDUMP_H_ |
17 | 17 |
18 #include <sys/time.h> | |
19 #include <windows.h> | 18 #include <windows.h> |
20 #include <dbghelp.h> | 19 #include <dbghelp.h> |
| 20 #include <stdint.h> |
| 21 #include <sys/time.h> |
21 | 22 |
22 #include <map> | 23 #include <map> |
23 #include <string> | 24 #include <string> |
24 #include <vector> | 25 #include <vector> |
25 | 26 |
26 #include "base/basictypes.h" | 27 #include "base/macros.h" |
27 #include "minidump/minidump_extensions.h" | 28 #include "minidump/minidump_extensions.h" |
28 #include "snapshot/exception_snapshot.h" | 29 #include "snapshot/exception_snapshot.h" |
| 30 #include "snapshot/memory_snapshot.h" |
29 #include "snapshot/minidump/module_snapshot_minidump.h" | 31 #include "snapshot/minidump/module_snapshot_minidump.h" |
30 #include "snapshot/memory_snapshot.h" | |
31 #include "snapshot/module_snapshot.h" | 32 #include "snapshot/module_snapshot.h" |
32 #include "snapshot/process_snapshot.h" | 33 #include "snapshot/process_snapshot.h" |
33 #include "snapshot/system_snapshot.h" | 34 #include "snapshot/system_snapshot.h" |
34 #include "snapshot/thread_snapshot.h" | 35 #include "snapshot/thread_snapshot.h" |
35 #include "util/file/file_reader.h" | 36 #include "util/file/file_reader.h" |
36 #include "util/misc/initialization_state_dcheck.h" | 37 #include "util/misc/initialization_state_dcheck.h" |
37 #include "util/misc/uuid.h" | 38 #include "util/misc/uuid.h" |
38 #include "util/stdlib/pointer_container.h" | 39 #include "util/stdlib/pointer_container.h" |
39 | 40 |
40 namespace crashpad { | 41 namespace crashpad { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 std::map<std::string, std::string> annotations_simple_map_; | 98 std::map<std::string, std::string> annotations_simple_map_; |
98 FileReaderInterface* file_reader_; // weak | 99 FileReaderInterface* file_reader_; // weak |
99 InitializationStateDcheck initialized_; | 100 InitializationStateDcheck initialized_; |
100 | 101 |
101 DISALLOW_COPY_AND_ASSIGN(ProcessSnapshotMinidump); | 102 DISALLOW_COPY_AND_ASSIGN(ProcessSnapshotMinidump); |
102 }; | 103 }; |
103 | 104 |
104 } // namespace crashpad | 105 } // namespace crashpad |
105 | 106 |
106 #endif // CRASHPAD_SNAPSHOT_MINIDUMP_PROCESS_SNAPSHOT_MINIDUMP_H_ | 107 #endif // CRASHPAD_SNAPSHOT_MINIDUMP_PROCESS_SNAPSHOT_MINIDUMP_H_ |
OLD | NEW |