diff options
author | doshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2008-05-07 21:54:12 +0000 |
---|---|---|
committer | doshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2008-05-07 21:54:12 +0000 |
commit | 8602aa71ecba32d26985bdbbddc8e618ca203ff9 (patch) | |
tree | f48d6367dc8c520a762cf4ee541de68e13758613 /src/client/windows/crash_generation | |
parent | Bug fix for issue 263: mach_vm_region_recurse calls have invalid parameter sp... (diff) | |
download | breakpad-8602aa71ecba32d26985bdbbddc8e618ca203ff9.tar.xz |
Some style guide compliance changes and changed the prototype of the method to get custom client info in ClientInfo class.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@270 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/windows/crash_generation')
-rw-r--r-- | src/client/windows/crash_generation/client_info.cc | 5 | ||||
-rw-r--r-- | src/client/windows/crash_generation/client_info.h | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/client/windows/crash_generation/client_info.cc b/src/client/windows/crash_generation/client_info.cc index 48886d2a..0da031c9 100644 --- a/src/client/windows/crash_generation/client_info.cc +++ b/src/client/windows/crash_generation/client_info.cc @@ -169,9 +169,8 @@ bool ClientInfo::PopulateCustomInfo() { return bytes_count == read_count; } -int ClientInfo::GetCustomInfo(CustomInfoEntry const** custom_info) const { - *custom_info = custom_info_entries_.get(); - return custom_client_info_.count; +const CustomClientInfo& ClientInfo::GetCustomInfo() const { + return custom_client_info_; } } // namespace google_breakpad diff --git a/src/client/windows/crash_generation/client_info.h b/src/client/windows/crash_generation/client_info.h index db3f05e9..f203b83d 100644 --- a/src/client/windows/crash_generation/client_info.h +++ b/src/client/windows/crash_generation/client_info.h @@ -88,10 +88,12 @@ class ClientInfo { bool Initialize(); bool GetClientExceptionInfo(EXCEPTION_POINTERS** ex_info) const; bool GetClientThreadId(DWORD* thread_id) const; + // Reads the custom information from the client process address space. bool PopulateCustomInfo(); + // Returns the client custom information. - int GetCustomInfo(CustomInfoEntry const** custom_info) const; + const CustomClientInfo& GetCustomInfo() const; private: // Crash generation server. |