DescriptionProvide 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
Committed: https://chromium.googlesource.com/crashpad/crashpad/+/402bb216fb2be24d7a81cb7c003ef59ad3c6394d
Patch Set 1 #
Messages
Total messages: 4 (1 generated)
|