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), |
Mark Mentovai
2015/08/18 16:17:19
This comma isn’t going to work on non-Windows, it’
scottmg
2015/08/18 16:56:00
Done.
| |
93 #if defined(OS_WIN) | |
94 thread_id_(0), | |
95 exception_pointers_(nullptr) | |
96 #endif // OS_WIN | |
97 { | |
93 } | 98 } |
94 | 99 |
95 } // namespace crashpad | 100 } // namespace crashpad |
OLD | NEW |