[feedback] Make use of StorageSize in Database

StorageSize was recently introduced to add units of storage to scalar
integers. Store uses this class to represent file sizes, so we
preemptively replace scalar values in Database and its associated
metrics classes with StorageSize to make the transition to Store easier.

Bug: 47137

TESTED=`fx test crash-reports-tests`

Change-Id: Ida31a0d99dbe5338b5679bf87f7cd14474dc268c
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/405495
Reviewed-by: Francois Rousseau <frousseau@google.com>
Testability-Review: Francois Rousseau <frousseau@google.com>
Testability-Review: Alex Pankhurst <pankhurst@google.com>
Commit-Queue: Alex Pankhurst <pankhurst@google.com>
9 files changed
tree: 9541610cf73879696361e77c954d8d18a355b1c0
  1. boards/
  2. build/
  3. bundles/
  4. cts/
  5. docs/
  6. examples/
  7. garnet/
  8. products/
  9. scripts/
  10. sdk/
  11. src/
  12. third_party/
  13. tools/
  14. zircon/
  15. .clang-format
  16. .clang-tidy
  17. .gitattributes
  18. .gitignore
  19. .gn
  20. .style.yapf
  21. AUTHORS
  22. BUILD.gn
  23. CODE_OF_CONDUCT.md
  24. CONTRIBUTING.md
  25. LICENSE
  26. OWNERS
  27. PATENTS
  28. README.md
  29. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

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.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.