[M73] Capture SafetyNetID if 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.

TBR=vakh@chromium.org

(cherry picked from commit 840d155daebddae95cc98d466361178223afdb90)

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-Original-Commit-Position: refs/heads/master@{#626253}
Reviewed-on: https://chromium-review.googlesource.com/c/1452706
Reviewed-by: Varun Khaneja <vakh@chromium.org>
Cr-Commit-Position: refs/branch-heads/3683@{#178}
Cr-Branched-From: e51029943e0a38dd794b73caaf6373d5496ae783-refs/heads/master@{#625896}
3 files changed