diff options
author | ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-08-16 16:48:59 +0000 |
---|---|---|
committer | ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-08-16 16:48:59 +0000 |
commit | 14889c340ffe6edeb362232318a8723a96b43a22 (patch) | |
tree | 9b46975cb11d44d50b726c43ae8200a7b212b742 /src/client/mac/crash_generation/client_info.h | |
parent | Put MachIPC into the google_breakpad namespace (diff) | |
download | breakpad-14889c340ffe6edeb362232318a8723a96b43a22.tar.xz |
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
Diffstat (limited to 'src/client/mac/crash_generation/client_info.h')
-rw-r--r-- | src/client/mac/crash_generation/client_info.h | 12 |
1 files changed, 8 insertions, 4 deletions
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 |