tree: 848363bcc48567137ef6b27d9354aaee3b80f398 [search]
  1. BUILD.gn
  2. README.md
  3. uma_logging.cc
  4. uma_logging.h
  5. uma_logging_unittest.cc
  6. unusable_swbn_file_error.cc
  7. unusable_swbn_file_error.h
  8. unusable_swbn_file_error_unittest.cc
components/webapps/isolated_web_apps/error/README.md

IWA Error Types & UMA Logging (components/webapps/isolated_web_apps/error)

This directory defines structured error types for Signed Web Bundle reading and UMA metric helpers for Isolated Web Apps.

Key Components

  • UnusableSwbnFileError (unusable_swbn_file_error.{h,cc}): Structured error type categorizing integrity block, signature verification, and metadata parsing failures when opening a .swbn file.
  • uma_logging.{h,cc}: Defines UmaLogExpectedStatus() and ToErrorEnum() helpers for recording base::expected<T, E> success rates and error enums (including UnusableSwbnFileError) to UMA histograms.