mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-03-05 20:16:32 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user