From 14889c340ffe6edeb362232318a8723a96b43a22 Mon Sep 17 00:00:00 2001 From: "ted.mielczarek@gmail.com" Date: Mon, 16 Aug 2010 16:48:59 +0000 Subject: Change ClientInfo into a class to match other platforms, rename the current ClientInfo to ExceptionInfo R=mark at http://breakpad.appspot.com/156001/show git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@651 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/client/mac/crash_generation/client_info.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/client/mac/crash_generation/client_info.h') diff --git a/src/client/mac/crash_generation/client_info.h b/src/client/mac/crash_generation/client_info.h index 035f5421..a3a95dca 100644 --- a/src/client/mac/crash_generation/client_info.h +++ b/src/client/mac/crash_generation/client_info.h @@ -32,10 +32,14 @@ namespace google_breakpad { -struct ClientInfo { - int exception_type; - int exception_code; - int exception_subcode; +class ClientInfo { + public: + explicit ClientInfo(pid_t pid) : pid_(pid) {} + + pid_t pid() const { return pid_; } + + private: + pid_t pid_; }; } // namespace google_breakpad -- cgit v1.2.1