DescriptionSync/Valgrind: Add gmock printers for SyncChange, SyncData, SyncError.
Fixes a valgrind error in AutofillProfileSyncableServiceTest.ActOnChange
which uses gmock to mock a method that uses these classes. Due to
alignment issues, SyncData.is_valid_ has 3 bytes of uninitalized
padding. The default gmock printer prints all of these bytes, which
causes the uninit access.
BUG=none
TEST=Green memory waterfall
R=akalin@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102407
Patch Set 1 #
Total comments: 12
Patch Set 2 : Review fixes. #
Total comments: 12
Patch Set 3 : Review fixes 2. #
Total comments: 12
Patch Set 4 : Review fixes 3. #Patch Set 5 : Review fixes 3. #
Total comments: 2
Patch Set 6 : More. #
Messages
Total messages: 13 (0 generated)
|