OLD | NEW |
1 // Copyright 2014 The Crashpad Authors. All rights reserved. | 1 // Copyright 2014 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, |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 return &g_crashpad_info; | 82 return &g_crashpad_info; |
83 } | 83 } |
84 | 84 |
85 CrashpadInfo::CrashpadInfo() | 85 CrashpadInfo::CrashpadInfo() |
86 : signature_(kSignature), | 86 : signature_(kSignature), |
87 size_(sizeof(*this)), | 87 size_(sizeof(*this)), |
88 version_(kCrashpadInfoVersion), | 88 version_(kCrashpadInfoVersion), |
89 crashpad_handler_behavior_(TriState::kUnset), | 89 crashpad_handler_behavior_(TriState::kUnset), |
90 system_crash_reporter_forwarding_(TriState::kUnset), | 90 system_crash_reporter_forwarding_(TriState::kUnset), |
91 padding_0_(0), | 91 padding_0_(0), |
92 simple_annotations_(nullptr) { | 92 simple_annotations_(nullptr) |
| 93 #if defined(OS_WIN) |
| 94 , |
| 95 exception_pointers_(nullptr), |
| 96 thread_id_(0) |
| 97 #endif // OS_WIN |
| 98 { |
93 } | 99 } |
94 | 100 |
95 } // namespace crashpad | 101 } // namespace crashpad |
OLD | NEW |