Sync/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 Review URL: http://codereview.chromium.org/7978044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102407 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment