From e05aab7b6bbf2e5ddb80c2f5a1192b97be6f4047 Mon Sep 17 00:00:00 2001
From: "cdn@chromium.org"
 <cdn@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>
Date: Tue, 10 Jul 2012 18:52:07 +0000
Subject: Add the capability to include an arbitrary data stream within
 minidumps This is supplied via a custom field "custom-data-stream" Review
 URL: https://breakpad.appspot.com/408002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@984 4c0a9323-5329-0410-9bdc-e9ce6186880e
---
 src/google_breakpad/common/minidump_format.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'src/google_breakpad/common')

diff --git a/src/google_breakpad/common/minidump_format.h b/src/google_breakpad/common/minidump_format.h
index a43e2292..94dd706d 100644
--- a/src/google_breakpad/common/minidump_format.h
+++ b/src/google_breakpad/common/minidump_format.h
@@ -331,7 +331,8 @@ typedef enum {
 
   /* Breakpad extension types.  0x4767 = "Gg" */
   MD_BREAKPAD_INFO_STREAM        = 0x47670001,  /* MDRawBreakpadInfo */
-  MD_ASSERTION_INFO_STREAM       = 0x47670002   /* MDRawAssertionInfo */
+  MD_ASSERTION_INFO_STREAM       = 0x47670002,  /* MDRawAssertionInfo */
+  MD_CUSTOM_DATA_STREAM          = 0x47670003   /* MDRawCustomDataStream */
 } MDStreamType;  /* MINIDUMP_STREAM_TYPE */
 
 
@@ -724,6 +725,9 @@ typedef enum {
  * Breakpad extension types
  */
 
+typedef struct {
+  u_int8_t stream[1];
+} MDRawCustomDataStream;
 
 typedef struct {
   /* validity is a bitmask with values from MDBreakpadInfoValidity, indicating
-- 
cgit v1.2.1