Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Side by Side Diff: snapshot/minidump/module_snapshot_minidump.cc

Issue 1415543003: win: Plumb module PDB name through snapshot (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: . Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « snapshot/minidump/module_snapshot_minidump.h ('k') | snapshot/module_snapshot.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « snapshot/minidump/module_snapshot_minidump.h ('k') | snapshot/module_snapshot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698