Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(483)

Side by Side Diff: client/mac/crash_generation/Inspector.h

Issue 571523004: Mac: Add support for in-process crash reporting (Closed) Base URL: https://chromium.googlesource.com/external/google-breakpad/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « client/mac/crash_generation/ConfigFile.mm ('k') | client/mac/crash_generation/Inspector.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2007, Google Inc. 1 // Copyright (c) 2007, Google Inc.
2 // All rights reserved. 2 // All rights reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // * Redistributions of source code must retain the above copyright 8 // * Redistributions of source code must retain the above copyright
9 // notice, this list of conditions and the following disclaimer. 9 // notice, this list of conditions and the following disclaimer.
10 // * Redistributions in binary form must reproduce the above 10 // * Redistributions in binary form must reproduce the above
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // ServiceCheckOut. 131 // ServiceCheckOut.
132 kern_return_t ResetBootstrapPort(); 132 kern_return_t ResetBootstrapPort();
133 133
134 kern_return_t ServiceCheckIn(const char *receive_port_name); 134 kern_return_t ServiceCheckIn(const char *receive_port_name);
135 kern_return_t ServiceCheckOut(const char *receive_port_name); 135 kern_return_t ServiceCheckOut(const char *receive_port_name);
136 136
137 kern_return_t ReadMessages(); 137 kern_return_t ReadMessages();
138 138
139 bool InspectTask(); 139 bool InspectTask();
140 kern_return_t SendAcknowledgement(); 140 kern_return_t SendAcknowledgement();
141 void LaunchReporter(const char *inConfigFilePath);
142 141
143 // The bootstrap port in which the inspector is registered and into which it 142 // The bootstrap port in which the inspector is registered and into which it
144 // must check in. 143 // must check in.
145 mach_port_t bootstrap_subset_port_; 144 mach_port_t bootstrap_subset_port_;
146 145
147 mach_port_t service_rcv_port_; 146 mach_port_t service_rcv_port_;
148 147
149 int exception_type_; 148 int exception_type_;
150 int exception_code_; 149 int exception_code_;
151 int exception_subcode_; 150 int exception_subcode_;
152 mach_port_t remote_task_; 151 mach_port_t remote_task_;
153 mach_port_t crashing_thread_; 152 mach_port_t crashing_thread_;
154 mach_port_t handler_thread_; 153 mach_port_t handler_thread_;
155 mach_port_t ack_port_; 154 mach_port_t ack_port_;
156 155
157 SimpleStringDictionary config_params_; 156 SimpleStringDictionary config_params_;
158 157
159 ConfigFile config_file_; 158 ConfigFile config_file_;
160 }; 159 };
161 160
162 161
163 } // namespace google_breakpad 162 } // namespace google_breakpad
OLDNEW
« no previous file with comments | « client/mac/crash_generation/ConfigFile.mm ('k') | client/mac/crash_generation/Inspector.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698