commit | e4db4d35fbc65a0a664077bd2a642fdfbe640660 | [log] [tgz] |
---|---|---|
author | Alex Pankhurst <pankhurst@google.com> | Tue Jul 07 20:20:16 2020 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Tue Jul 07 20:20:16 2020 +0000 |
tree | a731dd1a4c69c37f439b702406432966f75a9e6a | |
parent | bbb4d7db6d5c47fa75f43e03186e1977f0d12fb3 [diff] |
[forensics] Add class for storage sizes We have commonly relied on variable names to enforce sizes for storage, like with crashpad::CrashReportDatabase. This works, but is brittle and easy to mess up. Having a class that couples the scalar quantity with its associated units will make future uses of storage sizes easier and less prone to errors. Bug: 47137 Change-Id: If6a58625e38b972c6f3915ad4db5eea38faaea6d Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/404803 Commit-Queue: Alex Pankhurst <pankhurst@google.com> Testability-Review: Alex Pankhurst <pankhurst@google.com> Testability-Review: Francois Rousseau <frousseau@google.com> Reviewed-by: Francois Rousseau <frousseau@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See fuchsia.dev.