Skip to content
Snippets Groups Projects
Commit 88004ce1 authored by Shu Yang's avatar Shu Yang Committed by Chromium LUCI CQ
Browse files

[M131] Record pdf load result and time in Android

onLoadDocumentSuccess / onLoadDocumentError callback may be invoked
on PdfViewerFragment restoration.
We do not #setDocumentUri and record Android.Pdf.DocumentLoad for
these cases.
To have comparable records counts, DocumentLoadResult and
DocumentLoadTime should only be recorded when there is a paired
Android.Pdf.DocumentLoad.

(cherry picked from commit c61aa6fa)

Low-Coverage-Reason: TRIVIAL_CHANGE
Bug: 375041802
Fixed: 375260743
Change-Id: I7c2f6066badb2d992a32ba1d126106c5af8e8e39
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5954033


Reviewed-by: default avatarWenyu Fu <wenyufu@chromium.org>
Reviewed-by: default avatarSirisha Kavuluru <skavuluru@google.com>
Commit-Queue: Shu Yang <shuyng@google.com>
Cr-Original-Commit-Position: refs/heads/main@{#1372451}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5958978
Cr-Commit-Position: refs/branch-heads/6778@{#813}
Cr-Branched-From: b21671ca-refs/heads/main@{#1368529}
parent 9e386058
No related branches found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment