| 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 | 154 |
| 155 std::string ModuleSnapshotWin::DebugFileName() const { | 155 std::string ModuleSnapshotWin::DebugFileName() const { |
| 156 INITIALIZATION_STATE_DCHECK_VALID(initialized_); | 156 INITIALIZATION_STATE_DCHECK_VALID(initialized_); |
| 157 return pdb_name_; | 157 return pdb_name_; |
| 158 } | 158 } |
| 159 | 159 |
| 160 std::vector<std::string> ModuleSnapshotWin::AnnotationsVector() const { | 160 std::vector<std::string> ModuleSnapshotWin::AnnotationsVector() const { |
| 161 INITIALIZATION_STATE_DCHECK_VALID(initialized_); | 161 INITIALIZATION_STATE_DCHECK_VALID(initialized_); |
| 162 // These correspond to system-logged things on Mac. We don't currently track | 162 // These correspond to system-logged things on Mac. We don't currently track |
| 163 // any of these on Windows, but could in the future. | 163 // any of these on Windows, but could in the future. |
| 164 // See https://code.google.com/p/crashpad/issues/detail?id=38. | 164 // See https://crashpad.chromium.org/bug/38. |
| 165 return std::vector<std::string>(); | 165 return std::vector<std::string>(); |
| 166 } | 166 } |
| 167 | 167 |
| 168 std::map<std::string, std::string> ModuleSnapshotWin::AnnotationsSimpleMap() | 168 std::map<std::string, std::string> ModuleSnapshotWin::AnnotationsSimpleMap() |
| 169 const { | 169 const { |
| 170 INITIALIZATION_STATE_DCHECK_VALID(initialized_); | 170 INITIALIZATION_STATE_DCHECK_VALID(initialized_); |
| 171 PEImageAnnotationsReader annotations_reader( | 171 PEImageAnnotationsReader annotations_reader( |
| 172 process_reader_, pe_image_reader_.get(), name_); | 172 process_reader_, pe_image_reader_.get(), name_); |
| 173 return annotations_reader.SimpleMap(); | 173 return annotations_reader.SimpleMap(); |
| 174 } | 174 } |
| (...skipping 12 matching lines...) Expand all Loading... |
| 187 CrashpadInfoClientOptions::TriStateFromCrashpadInfo( | 187 CrashpadInfoClientOptions::TriStateFromCrashpadInfo( |
| 188 crashpad_info.crashpad_handler_behavior); | 188 crashpad_info.crashpad_handler_behavior); |
| 189 | 189 |
| 190 options->system_crash_reporter_forwarding = | 190 options->system_crash_reporter_forwarding = |
| 191 CrashpadInfoClientOptions::TriStateFromCrashpadInfo( | 191 CrashpadInfoClientOptions::TriStateFromCrashpadInfo( |
| 192 crashpad_info.system_crash_reporter_forwarding); | 192 crashpad_info.system_crash_reporter_forwarding); |
| 193 } | 193 } |
| 194 | 194 |
| 195 } // namespace internal | 195 } // namespace internal |
| 196 } // namespace crashpad | 196 } // namespace crashpad |
| OLD | NEW |