• Nate Fischer's avatar
    AW: add metric to track baseUrl scheme · c1de4473
    Nate Fischer authored
    This adds an UMA metric to track loadDataWithBaseURL's baseUrl scheme.
    This logs if the URL is empty, if the scheme is one of several
    well-known values, or if the scheme is some unknown value (possibly a
    custom URL scheme).
    
    This also adds integration tests to verify we record metrics.
    
    R=isherman@chromium.org, torne@chromium.org
    
    Bug: 901581
    Test: run_webview_instrumentation_test_apk \
    Test: --gtest_filter=LoadDataWithBaseUrlTest#testBaseUrlMetrics_*
    Change-Id: Iaedf6836daeb185da7b1b26145d30fb46a363d21
    Reviewed-on: https://chromium-review.googlesource.com/c/1321868
    Commit-Queue: Nate Fischer <ntfschr@chromium.org>
    Reviewed-by: default avatarIlya Sherman <isherman@chromium.org>
    Reviewed-by: default avatarRichard Coles <torne@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#607281}
    c1de4473
enums.xml 2.28 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.