Capture Safety Net ID if the APK download telemetry report can be sent.
Flow: 1. AndroidTelemetryService::OnDownloadCreated called on UI thread. Calls MaybeCaptureSafetyNetId() on the UI thread. 2. If safety_net_id_on_ui_thread_ is already set, END. Otherwise, schedules SafeBrowsingDatabaseManager::GetSafetyNetId on the IO thread and the result of that is scheduled to go to AndroidTelemetryService::SetSafetyNetIdOnUIThread on the UI thread. 3. When SetSafetyNetIdOnUIThread() gets called, it sets safety_net_id_on_ui_thread_ on the UI thread. Also, if chrome://safe-browsing is open, sends CRSBLOGs to DLOG also. Bug: 907280 Change-Id: Id65ed62817f37ed911e5b3b8a623bc1e1c74ea5f Reviewed-on: https://chromium-review.googlesource.com/c/1436186 Commit-Queue: Daniel Rubery <drubery@chromium.org> Auto-Submit: Varun Khaneja <vakh@chromium.org> Reviewed-by:Daniel Rubery <drubery@chromium.org> Reviewed-by:
Nathan Parker <nparker@chromium.org> Cr-Commit-Position: refs/heads/master@{#626253}
Showing
Please register or sign in to comment