attestation: Lift restrictions on copying callbacks.

AttestationInterface implementations should be free to copy callback
objects. Previously they were not because a scoped_ptr was curried in.
The change is to eliminate scoped_ptrs as callback parameters.

BUG=brillo:737
TEST=unit, manually ran attestation_client

Change-Id: I69fee531b09229f40ebd620dfd393d85e9c0af27
Reviewed-on: https://chromium-review.googlesource.com/265123
Reviewed-by: Alex Vakulenko <[email protected]>
Commit-Queue: Darren Krahn <[email protected]>
Tested-by: Darren Krahn <[email protected]>
2 files changed
tree: 9fc4912a96bec9b005a030eeb2a82217481d26cf
  1. client/
  2. common/
  3. server/
  4. attestation.gyp
  5. attestation_testrunner.cc
  6. OWNERS