mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-29 00:32:35 +08:00
Mark Mentovai
402bb216fb
Provide a properly-typed ExpectedSizeForVersion() for types that need it
Rather than declaring ExpectedSizeForVersion() for all process_types types and providing a default NOTREACHED() implementation, this only declares it for process_types that request it by stating PROCESS_TYPE_STRUCT_VERSIONED() in their proctype definition. This also allows the argument to have the correct type, matching the type of the struct’s version field. TEST=crashpad_snapshot_test R=rsesek@chromium.org Review URL: https://codereview.chromium.org/1274663005 .
Description
Languages
C++
92.6%
Objective-C++
2.5%
C
2%
Python
1.7%
Assembly
0.9%
Other
0.3%