| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 } | 111 } |
| 112 | 112 |
| 113 void ModuleSnapshotMinidump::UUIDAndAge(crashpad::UUID* uuid, | 113 void ModuleSnapshotMinidump::UUIDAndAge(crashpad::UUID* uuid, |
| 114 uint32_t* age) const { | 114 uint32_t* age) const { |
| 115 INITIALIZATION_STATE_DCHECK_VALID(initialized_); | 115 INITIALIZATION_STATE_DCHECK_VALID(initialized_); |
| 116 NOTREACHED(); // https://code.google.com/p/crashpad/issues/detail?id=10 | 116 NOTREACHED(); // https://code.google.com/p/crashpad/issues/detail?id=10 |
| 117 *uuid = crashpad::UUID(); | 117 *uuid = crashpad::UUID(); |
| 118 *age = 0; | 118 *age = 0; |
| 119 } | 119 } |
| 120 | 120 |
| 121 std::string ModuleSnapshotMinidump::DebugFileName() const { |
| 122 INITIALIZATION_STATE_DCHECK_VALID(initialized_); |
| 123 NOTREACHED(); // https://code.google.com/p/crashpad/issues/detail?id=10 |
| 124 return std::string(); |
| 125 } |
| 126 |
| 121 std::vector<std::string> ModuleSnapshotMinidump::AnnotationsVector() const { | 127 std::vector<std::string> ModuleSnapshotMinidump::AnnotationsVector() const { |
| 122 INITIALIZATION_STATE_DCHECK_VALID(initialized_); | 128 INITIALIZATION_STATE_DCHECK_VALID(initialized_); |
| 123 return annotations_vector_; | 129 return annotations_vector_; |
| 124 } | 130 } |
| 125 | 131 |
| 126 std::map<std::string, std::string> | 132 std::map<std::string, std::string> |
| 127 ModuleSnapshotMinidump::AnnotationsSimpleMap() const { | 133 ModuleSnapshotMinidump::AnnotationsSimpleMap() const { |
| 128 INITIALIZATION_STATE_DCHECK_VALID(initialized_); | 134 INITIALIZATION_STATE_DCHECK_VALID(initialized_); |
| 129 return annotations_simple_map_; | 135 return annotations_simple_map_; |
| 130 } | 136 } |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 } | 173 } |
| 168 | 174 |
| 169 return ReadMinidumpSimpleStringDictionary( | 175 return ReadMinidumpSimpleStringDictionary( |
| 170 file_reader, | 176 file_reader, |
| 171 minidump_module_crashpad_info.simple_annotations, | 177 minidump_module_crashpad_info.simple_annotations, |
| 172 &annotations_simple_map_); | 178 &annotations_simple_map_); |
| 173 } | 179 } |
| 174 | 180 |
| 175 } // namespace internal | 181 } // namespace internal |
| 176 } // namespace crashpad | 182 } // namespace crashpad |
| OLD | NEW |