Add a way for the client apps to specify custom information in case of out-of-process
scenarios that the OOP server can use in whatever way it wants to.

Fix a bug in CrashGenerationserver where CreateNamedPipe failure was not checked correctly.

TODO in near future: Add a custom stream to minidump files for the custom information.



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@267 4c0a9323-5329-0410-9bdc-e9ce6186880e
diff --git a/src/client/windows/handler/exception_handler.h b/src/client/windows/handler/exception_handler.h
index 870025f..d02f708 100644
--- a/src/client/windows/handler/exception_handler.h
+++ b/src/client/windows/handler/exception_handler.h
@@ -68,6 +68,7 @@
 #include <string>
 #include <vector>
 
+#include "client/windows/common/ipc_protocol.h"
 #include "client/windows/crash_generation/crash_generation_client.h"
 #include "google_breakpad/common/minidump_format.h"
 #include "processor/scoped_ptr.h"
@@ -163,7 +164,8 @@
                    void* callback_context,
                    int handler_types,
                    MINIDUMP_TYPE dump_type,
-                   const wchar_t* pipe_name);
+                   const wchar_t* pipe_name,
+                   const CustomClientInfo* custom_info);
 
   ~ExceptionHandler();
 
@@ -213,7 +215,8 @@
                   void* callback_context,
                   int handler_types,
                   MINIDUMP_TYPE dump_type,
-                  const wchar_t* pipe_name);
+                  const wchar_t* pipe_name,
+                  const CustomClientInfo* custom_info);
 
   // Function pointer type for MiniDumpWriteDump, which is looked up
   // dynamically.