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

Unified Diff: snapshot/mac/mach_o_image_reader.h

Issue 997713002: Allow exception forwarding to the system’s native crash reporter to be disabled (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Remove unused function declaration Created 5 years, 9 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « snapshot/mac/mach_o_image_annotations_reader.cc ('k') | snapshot/mac/mach_o_image_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: snapshot/mac/mach_o_image_reader.h
diff --git a/snapshot/mac/mach_o_image_reader.h b/snapshot/mac/mach_o_image_reader.h
index e750fbbba7c9444e93ef40ff072c65f8f5e6a1c3..23e4a90fd8296df61c02c7a3897c505aac69d4f0 100644
--- a/snapshot/mac/mach_o_image_reader.h
+++ b/snapshot/mac/mach_o_image_reader.h
@@ -265,6 +265,13 @@ class MachOImageReader {
//! be empty.
std::string DylinkerName() const { return dylinker_name_; }
+ //! \brief Obtains the module’s CrashpadInfo structure.
+ //!
+ //! \return `true` on success, `false` on failure. If the module does not have
+ //! a `__crashpad_info` section, this will return `false` without logging
+ //! any messages. Other failures will result in messages being logged.
+ bool GetCrashpadInfo(process_types::CrashpadInfo* crashpad_info) const;
+
private:
// A generic helper routine for the other Read*Command() methods.
template <typename T>
« no previous file with comments | « snapshot/mac/mach_o_image_annotations_reader.cc ('k') | snapshot/mac/mach_o_image_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698