Tracking bug for the removal of IOBuffer usage from U2fPacket. IOBuffer should only be used when explicitly needed.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/b4dde882f6c2b2be84035b53f60ec286d347bc50 commit b4dde882f6c2b2be84035b53f60ec286d347bc50 Author: piperc <piperc@chromium.org> Date: Thu Mar 23 20:51:11 2017 Use vectors instead of IOBuffer for U2fPackets Changed to using vector class variables in U2fPacket. Now only converting to IOBuffer on the fly in U2fMessage when needed. BUG= 704309 Review-Url: https://codereview.chromium.org/2771673002 Cr-Commit-Position: refs/heads/master@{#459211} [modify] https://crrev.com/b4dde882f6c2b2be84035b53f60ec286d347bc50/device/u2f/u2f_hid_device.cc [modify] https://crrev.com/b4dde882f6c2b2be84035b53f60ec286d347bc50/device/u2f/u2f_message.cc [modify] https://crrev.com/b4dde882f6c2b2be84035b53f60ec286d347bc50/device/u2f/u2f_message.h [modify] https://crrev.com/b4dde882f6c2b2be84035b53f60ec286d347bc50/device/u2f/u2f_message_fuzzer.cc [modify] https://crrev.com/b4dde882f6c2b2be84035b53f60ec286d347bc50/device/u2f/u2f_message_unittest.cc [modify] https://crrev.com/b4dde882f6c2b2be84035b53f60ec286d347bc50/device/u2f/u2f_packet.cc [modify] https://crrev.com/b4dde882f6c2b2be84035b53f60ec286d347bc50/device/u2f/u2f_packet.h
Comment 1 by piperc@chromium.org
, Mar 22 2017