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, |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 void FileVersion(uint16_t* version_0, | 66 void FileVersion(uint16_t* version_0, |
67 uint16_t* version_1, | 67 uint16_t* version_1, |
68 uint16_t* version_2, | 68 uint16_t* version_2, |
69 uint16_t* version_3) const override; | 69 uint16_t* version_3) const override; |
70 void SourceVersion(uint16_t* version_0, | 70 void SourceVersion(uint16_t* version_0, |
71 uint16_t* version_1, | 71 uint16_t* version_1, |
72 uint16_t* version_2, | 72 uint16_t* version_2, |
73 uint16_t* version_3) const override; | 73 uint16_t* version_3) const override; |
74 ModuleType GetModuleType() const override; | 74 ModuleType GetModuleType() const override; |
75 void UUIDAndAge(crashpad::UUID* uuid, uint32_t* age) const override; | 75 void UUIDAndAge(crashpad::UUID* uuid, uint32_t* age) const override; |
| 76 std::string DebugFileName() const override; |
76 std::vector<std::string> AnnotationsVector() const override; | 77 std::vector<std::string> AnnotationsVector() const override; |
77 std::map<std::string, std::string> AnnotationsSimpleMap() const override; | 78 std::map<std::string, std::string> AnnotationsSimpleMap() const override; |
78 | 79 |
79 private: | 80 private: |
80 // Initializes data carried in a MinidumpModuleCrashpadInfo structure on | 81 // Initializes data carried in a MinidumpModuleCrashpadInfo structure on |
81 // behalf of Initialize(). | 82 // behalf of Initialize(). |
82 bool InitializeModuleCrashpadInfo(FileReaderInterface* file_reader, | 83 bool InitializeModuleCrashpadInfo(FileReaderInterface* file_reader, |
83 const MINIDUMP_LOCATION_DESCRIPTOR* | 84 const MINIDUMP_LOCATION_DESCRIPTOR* |
84 minidump_module_crashpad_info_location); | 85 minidump_module_crashpad_info_location); |
85 | 86 |
86 MINIDUMP_MODULE minidump_module_; | 87 MINIDUMP_MODULE minidump_module_; |
87 std::vector<std::string> annotations_vector_; | 88 std::vector<std::string> annotations_vector_; |
88 std::map<std::string, std::string> annotations_simple_map_; | 89 std::map<std::string, std::string> annotations_simple_map_; |
89 InitializationStateDcheck initialized_; | 90 InitializationStateDcheck initialized_; |
90 | 91 |
91 DISALLOW_COPY_AND_ASSIGN(ModuleSnapshotMinidump); | 92 DISALLOW_COPY_AND_ASSIGN(ModuleSnapshotMinidump); |
92 }; | 93 }; |
93 | 94 |
94 } // namespace internal | 95 } // namespace internal |
95 } // namespace crashpad | 96 } // namespace crashpad |
96 | 97 |
97 #endif // CRASHPAD_SNAPSHOT_MINIDUMP_MODULE_SNAPSHOT_MINIDUMP_H_ | 98 #endif // CRASHPAD_SNAPSHOT_MINIDUMP_MODULE_SNAPSHOT_MINIDUMP_H_ |
OLD | NEW |