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
This commit is contained in:
doshimun
2008-05-07 21:54:12 +00:00
parent c2bdaa613c
commit 8602aa71ec
4 changed files with 25 additions and 21 deletions

View File

@@ -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

View File

@@ -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.