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

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

Issue 1414243005: Update all URLs to point to https://crashpad.chromium.org/ (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: README.crashpad 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
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 minidump_module_crashpad_info_location)) { 51 minidump_module_crashpad_info_location)) {
52 return false; 52 return false;
53 } 53 }
54 54
55 INITIALIZATION_STATE_SET_VALID(initialized_); 55 INITIALIZATION_STATE_SET_VALID(initialized_);
56 return true; 56 return true;
57 } 57 }
58 58
59 std::string ModuleSnapshotMinidump::Name() const { 59 std::string ModuleSnapshotMinidump::Name() const {
60 INITIALIZATION_STATE_DCHECK_VALID(initialized_); 60 INITIALIZATION_STATE_DCHECK_VALID(initialized_);
61 NOTREACHED(); // https://code.google.com/p/crashpad/issues/detail?id=10 61 NOTREACHED(); // https://crashpad.chromium.org/bug/10
62 return std::string(); 62 return std::string();
63 } 63 }
64 64
65 uint64_t ModuleSnapshotMinidump::Address() const { 65 uint64_t ModuleSnapshotMinidump::Address() const {
66 INITIALIZATION_STATE_DCHECK_VALID(initialized_); 66 INITIALIZATION_STATE_DCHECK_VALID(initialized_);
67 NOTREACHED(); // https://code.google.com/p/crashpad/issues/detail?id=10 67 NOTREACHED(); // https://crashpad.chromium.org/bug/10
68 return 0; 68 return 0;
69 } 69 }
70 70
71 uint64_t ModuleSnapshotMinidump::Size() const { 71 uint64_t ModuleSnapshotMinidump::Size() const {
72 INITIALIZATION_STATE_DCHECK_VALID(initialized_); 72 INITIALIZATION_STATE_DCHECK_VALID(initialized_);
73 NOTREACHED(); // https://code.google.com/p/crashpad/issues/detail?id=10 73 NOTREACHED(); // https://crashpad.chromium.org/bug/10
74 return 0; 74 return 0;
75 } 75 }
76 76
77 time_t ModuleSnapshotMinidump::Timestamp() const { 77 time_t ModuleSnapshotMinidump::Timestamp() const {
78 INITIALIZATION_STATE_DCHECK_VALID(initialized_); 78 INITIALIZATION_STATE_DCHECK_VALID(initialized_);
79 NOTREACHED(); // https://code.google.com/p/crashpad/issues/detail?id=10 79 NOTREACHED(); // https://crashpad.chromium.org/bug/10
80 return 0; 80 return 0;
81 } 81 }
82 82
83 void ModuleSnapshotMinidump::FileVersion(uint16_t* version_0, 83 void ModuleSnapshotMinidump::FileVersion(uint16_t* version_0,
84 uint16_t* version_1, 84 uint16_t* version_1,
85 uint16_t* version_2, 85 uint16_t* version_2,
86 uint16_t* version_3) const { 86 uint16_t* version_3) const {
87 INITIALIZATION_STATE_DCHECK_VALID(initialized_); 87 INITIALIZATION_STATE_DCHECK_VALID(initialized_);
88 NOTREACHED(); // https://code.google.com/p/crashpad/issues/detail?id=10 88 NOTREACHED(); // https://crashpad.chromium.org/bug/10
89 *version_0 = 0; 89 *version_0 = 0;
90 *version_1 = 0; 90 *version_1 = 0;
91 *version_2 = 0; 91 *version_2 = 0;
92 *version_3 = 0; 92 *version_3 = 0;
93 } 93 }
94 94
95 void ModuleSnapshotMinidump::SourceVersion(uint16_t* version_0, 95 void ModuleSnapshotMinidump::SourceVersion(uint16_t* version_0,
96 uint16_t* version_1, 96 uint16_t* version_1,
97 uint16_t* version_2, 97 uint16_t* version_2,
98 uint16_t* version_3) const { 98 uint16_t* version_3) const {
99 INITIALIZATION_STATE_DCHECK_VALID(initialized_); 99 INITIALIZATION_STATE_DCHECK_VALID(initialized_);
100 NOTREACHED(); // https://code.google.com/p/crashpad/issues/detail?id=10 100 NOTREACHED(); // https://crashpad.chromium.org/bug/10
101 *version_0 = 0; 101 *version_0 = 0;
102 *version_1 = 0; 102 *version_1 = 0;
103 *version_2 = 0; 103 *version_2 = 0;
104 *version_3 = 0; 104 *version_3 = 0;
105 } 105 }
106 106
107 ModuleSnapshot::ModuleType ModuleSnapshotMinidump::GetModuleType() const { 107 ModuleSnapshot::ModuleType ModuleSnapshotMinidump::GetModuleType() const {
108 INITIALIZATION_STATE_DCHECK_VALID(initialized_); 108 INITIALIZATION_STATE_DCHECK_VALID(initialized_);
109 NOTREACHED(); // https://code.google.com/p/crashpad/issues/detail?id=10 109 NOTREACHED(); // https://crashpad.chromium.org/bug/10
110 return kModuleTypeUnknown; 110 return kModuleTypeUnknown;
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://crashpad.chromium.org/bug/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 { 121 std::string ModuleSnapshotMinidump::DebugFileName() const {
122 INITIALIZATION_STATE_DCHECK_VALID(initialized_); 122 INITIALIZATION_STATE_DCHECK_VALID(initialized_);
123 NOTREACHED(); // https://code.google.com/p/crashpad/issues/detail?id=10 123 NOTREACHED(); // https://crashpad.chromium.org/bug/10
124 return std::string(); 124 return std::string();
125 } 125 }
126 126
127 std::vector<std::string> ModuleSnapshotMinidump::AnnotationsVector() const { 127 std::vector<std::string> ModuleSnapshotMinidump::AnnotationsVector() const {
128 INITIALIZATION_STATE_DCHECK_VALID(initialized_); 128 INITIALIZATION_STATE_DCHECK_VALID(initialized_);
129 return annotations_vector_; 129 return annotations_vector_;
130 } 130 }
131 131
132 std::map<std::string, std::string> 132 std::map<std::string, std::string>
133 ModuleSnapshotMinidump::AnnotationsSimpleMap() const { 133 ModuleSnapshotMinidump::AnnotationsSimpleMap() const {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 } 173 }
174 174
175 return ReadMinidumpSimpleStringDictionary( 175 return ReadMinidumpSimpleStringDictionary(
176 file_reader, 176 file_reader,
177 minidump_module_crashpad_info.simple_annotations, 177 minidump_module_crashpad_info.simple_annotations,
178 &annotations_simple_map_); 178 &annotations_simple_map_);
179 } 179 }
180 180
181 } // namespace internal 181 } // namespace internal
182 } // namespace crashpad 182 } // namespace crashpad
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698