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

Unified Diff: third_party/crashpad/crashpad/client/crashpad_info.h

Issue 1921833002: Update Crashpad to 00d458adaf3868999eeab5341fce5bedb81d17a1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win fixes Created 4 years, 8 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
Index: third_party/crashpad/crashpad/client/crashpad_info.h
diff --git a/third_party/crashpad/crashpad/client/crashpad_info.h b/third_party/crashpad/crashpad/client/crashpad_info.h
index a181f9970351391eb2a5f7fd66b462ed79f0c00e..9e7abfc1cd017d5374fba75717be7647b220a364 100644
--- a/third_party/crashpad/crashpad/client/crashpad_info.h
+++ b/third_party/crashpad/crashpad/client/crashpad_info.h
@@ -148,9 +148,17 @@ struct CrashpadInfo {
//! This causes Crashpad to include pages of data referenced by locals or
//! other stack memory. Turning this on can increase the size of the minidump
//! significantly.
+ //!
+ //! \param[in] gather_indirectly_referenced_memory Whether extra memory should
+ //! be gathered.
+ //! \param[in] limit The amount of memory in bytes after which no more
+ //! indirectly gathered memory should be captured. This value is only used
+ //! when \a gather_indirectly_referenced_memory is TriState::kEnabled.
void set_gather_indirectly_referenced_memory(
- TriState gather_indirectly_referenced_memory) {
+ TriState gather_indirectly_referenced_memory,
+ uint32_t limit) {
gather_indirectly_referenced_memory_ = gather_indirectly_referenced_memory;
+ indirectly_referenced_memory_cap_ = limit;
}
//! \brief Adds a custom stream to the minidump.
@@ -192,10 +200,12 @@ struct CrashpadInfo {
uint32_t signature_; // kSignature
uint32_t size_; // The size of the entire CrashpadInfo structure.
uint32_t version_; // kVersion
+ uint32_t indirectly_referenced_memory_cap_;
+ uint32_t padding_0_;
TriState crashpad_handler_behavior_;
TriState system_crash_reporter_forwarding_;
TriState gather_indirectly_referenced_memory_;
- uint8_t padding_0_;
+ uint8_t padding_1_;
SimpleAddressRangeBag* extra_memory_ranges_; // weak
SimpleStringDictionary* simple_annotations_; // weak
internal::UserDataMinidumpStreamListEntry* user_data_minidump_stream_head_;
« no previous file with comments | « third_party/crashpad/crashpad/client/crashpad_client_win.cc ('k') | third_party/crashpad/crashpad/client/crashpad_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698