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

Side by Side Diff: third_party/crashpad/crashpad/minidump/minidump_module_crashpad_info_writer.h

Issue 2555353002: Update Crashpad to 32981a3ee9d7c2769fb27afa038fe2e194cfa329 (Closed)
Patch Set: fix readme Created 4 years 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 2014 The Crashpad Authors. All rights reserved. 1 // Copyright 2014 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 //! 118 //!
119 //! \note Valid in #kStateMutable. AddModule() may not be called before this 119 //! \note Valid in #kStateMutable. AddModule() may not be called before this
120 //! method, and it is not normally necessary to call AddModule() after 120 //! method, and it is not normally necessary to call AddModule() after
121 //! this method. 121 //! this method.
122 void InitializeFromSnapshot( 122 void InitializeFromSnapshot(
123 const std::vector<const ModuleSnapshot*>& module_snapshots); 123 const std::vector<const ModuleSnapshot*>& module_snapshots);
124 124
125 //! \brief Adds a MinidumpModuleCrashpadInfo to the 125 //! \brief Adds a MinidumpModuleCrashpadInfo to the
126 //! MinidumpModuleCrashpadInfoList. 126 //! MinidumpModuleCrashpadInfoList.
127 //! 127 //!
128 //! \param[in] module Extended Crashpad-specific information about the module. 128 //! \param[in] module_crashpad_info Extended Crashpad-specific information
129 //! This object takes ownership of \a module and becomes its parent in the 129 //! about the module. This object takes ownership of \a
130 //! overall tree of internal::MinidumpWritable objects. 130 //! module_crashpad_info and becomes its parent in the overall tree of
131 //! \param[in] module_list_index The index of the MINIDUMP_MODULE in the 131 //! internal::MinidumpWritable objects.
132 //! minidump file’s MINIDUMP_MODULE_LIST stream that corresponds to \a 132 //! \param[in] minidump_module_list_index The index of the MINIDUMP_MODULE in
133 //! the minidump file’s MINIDUMP_MODULE_LIST stream that corresponds to \a
133 //! module_crashpad_info. 134 //! module_crashpad_info.
134 //! 135 //!
135 //! \note Valid in #kStateMutable. 136 //! \note Valid in #kStateMutable.
136 void AddModule( 137 void AddModule(
137 std::unique_ptr<MinidumpModuleCrashpadInfoWriter> module_crashpad_info, 138 std::unique_ptr<MinidumpModuleCrashpadInfoWriter> module_crashpad_info,
138 size_t minidump_module_list_index); 139 size_t minidump_module_list_index);
139 140
140 //! \brief Determines whether the object is useful. 141 //! \brief Determines whether the object is useful.
141 //! 142 //!
142 //! A useful object is one that carries data that makes a meaningful 143 //! A useful object is one that carries data that makes a meaningful
(...skipping 14 matching lines...) Expand all
157 PointerVector<MinidumpModuleCrashpadInfoWriter> module_crashpad_infos_; 158 PointerVector<MinidumpModuleCrashpadInfoWriter> module_crashpad_infos_;
158 std::vector<MinidumpModuleCrashpadInfoLink> module_crashpad_info_links_; 159 std::vector<MinidumpModuleCrashpadInfoLink> module_crashpad_info_links_;
159 MinidumpModuleCrashpadInfoList module_crashpad_info_list_base_; 160 MinidumpModuleCrashpadInfoList module_crashpad_info_list_base_;
160 161
161 DISALLOW_COPY_AND_ASSIGN(MinidumpModuleCrashpadInfoListWriter); 162 DISALLOW_COPY_AND_ASSIGN(MinidumpModuleCrashpadInfoListWriter);
162 }; 163 };
163 164
164 } // namespace crashpad 165 } // namespace crashpad
165 166
166 #endif // CRASHPAD_MINIDUMP_MINIDUMP_MODULE_CRASHPAD_INFO_WRITER_H_ 167 #endif // CRASHPAD_MINIDUMP_MINIDUMP_MODULE_CRASHPAD_INFO_WRITER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698