OLD | NEW |
1 // Copyright 2015 The Crashpad Authors. All rights reserved. | 1 // Copyright 2015 The Crashpad Authors. All rights reserved. |
2 // | 2 // |
3 // Licensed under the Apache License, Version 2.0 (the "License"); | 3 // Licensed under the Apache License, Version 2.0 (the "License"); |
4 // you may not use this file except in compliance with the License. | 4 // you may not use this file except in compliance with the License. |
5 // You may obtain a copy of the License at | 5 // You may obtain a copy of the License at |
6 // | 6 // |
7 // http://www.apache.org/licenses/LICENSE-2.0 | 7 // http://www.apache.org/licenses/LICENSE-2.0 |
8 // | 8 // |
9 // Unless required by applicable law or agreed to in writing, software | 9 // Unless required by applicable law or agreed to in writing, software |
10 // distributed under the License is distributed on an "AS IS" BASIS, | 10 // distributed under the License is distributed on an "AS IS" BASIS, |
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 // See the License for the specific language governing permissions and | 12 // See the License for the specific language governing permissions and |
13 // limitations under the License. | 13 // limitations under the License. |
14 | 14 |
15 #include "handler/mac/crash_report_exception_handler.h" | 15 #include "handler/mac/crash_report_exception_handler.h" |
16 | 16 |
17 #include <servers/bootstrap.h> | 17 #include <servers/bootstrap.h> |
18 | 18 |
19 #include <vector> | 19 #include <vector> |
20 | 20 |
21 #include "base/logging.h" | 21 #include "base/logging.h" |
22 #include "base/mac/mach_logging.h" | 22 #include "base/mac/mach_logging.h" |
23 #include "base/strings/stringprintf.h" | 23 #include "base/strings/stringprintf.h" |
24 #include "client/settings.h" | 24 #include "client/settings.h" |
25 #include "minidump/minidump_file_writer.h" | 25 #include "minidump/minidump_file_writer.h" |
26 #include "snapshot/mac/crashpad_info_client_options.h" | 26 #include "snapshot/crashpad_info_client_options.h" |
27 #include "snapshot/mac/process_snapshot_mac.h" | 27 #include "snapshot/mac/process_snapshot_mac.h" |
28 #include "util/file/file_writer.h" | 28 #include "util/file/file_writer.h" |
29 #include "util/mach/exc_client_variants.h" | 29 #include "util/mach/exc_client_variants.h" |
30 #include "util/mach/exception_behaviors.h" | 30 #include "util/mach/exception_behaviors.h" |
31 #include "util/mach/exception_types.h" | 31 #include "util/mach/exception_types.h" |
32 #include "util/mach/mach_extensions.h" | 32 #include "util/mach/mach_extensions.h" |
33 #include "util/mach/mach_message.h" | 33 #include "util/mach/mach_message.h" |
34 #include "util/mach/scoped_task_suspend.h" | 34 #include "util/mach/scoped_task_suspend.h" |
35 #include "util/mach/symbolic_constants_mach.h" | 35 #include "util/mach/symbolic_constants_mach.h" |
36 #include "util/misc/tri_state.h" | 36 #include "util/misc/tri_state.h" |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 | 252 |
253 if (!forwarded) { | 253 if (!forwarded) { |
254 ExcServerCopyState( | 254 ExcServerCopyState( |
255 behavior, old_state, old_state_count, new_state, new_state_count); | 255 behavior, old_state, old_state_count, new_state, new_state_count); |
256 } | 256 } |
257 | 257 |
258 return ExcServerSuccessfulReturnValue(behavior, false); | 258 return ExcServerSuccessfulReturnValue(behavior, false); |
259 } | 259 } |
260 | 260 |
261 } // namespace crashpad | 261 } // namespace crashpad |
OLD | NEW |