[Structured metrics] Add KeyData class.
Adds the central class for managing project secrets and hashing values. There two TODOs left for KeyData: 1. UMA metrics for failure states. 2. allow overriding of key rotation period per-event. I'll add these in follow-up CLs, as they both require edits to other files. Bug: 1016655 Change-Id: I7a294fd9be606aa6fc510f4f25058e54ab3d327d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1928451 Commit-Queue: Tony Yeoman <tby@chromium.org> Reviewed-by:Mattias Nissler <mnissler@chromium.org> Reviewed-by:
Thanh Nguyen <thanhdng@chromium.org> Cr-Commit-Position: refs/heads/master@{#733793}
Showing
Please register or sign in to comment