crosvm/base
David Stevens c552254625 metrics: Remove MetricsRequest from vendor API
Instead of deserializing from the metrics tube in the generic
MetricsController code, we can directly pass the readable tube to the
vendor RequestHandler implementation. This allows us to shrink the size
of the vendor metrics API by removing RequestHandler.

This change also makes MetricsController use RecvTubes instead of Tubes.

BUG=b:332466813
TEST=./tools/dev_container ./tools/presubmit all

Change-Id: Ia1507d5e1c0cdd346d165c968184e9d2bd70314e
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5400362
Reviewed-by: Noah Gold <nkgold@google.com>
Commit-Queue: David Stevens <stevensd@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2024-04-09 01:43:33 +00:00
..
base_event_token_derive Update to syn-2 2023-12-02 00:23:50 +00:00
src metrics: Remove MetricsRequest from vendor API 2024-04-09 01:43:33 +00:00
tests clippy: enforce safety block comments 2023-12-14 18:21:54 +00:00
.build_test_serial Refactoring: Move common/base into base 2022-03-17 00:01:27 +00:00
Cargo.toml Cargo.toml: Remove unused data_model deps 2024-03-13 20:00:26 +00:00