Modernize CertificateViewerDialog::GetDialogArgs().

- Replace one loop with base::JoinString().
- Use newer base::Value API in another loop.

Change-Id: I73fbd983e3c2306e9a97c9fd46f3fe94a944dcf7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1497855
Reviewed-by: Michael Giuffrida <michaelpg@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#638051}
1 file changed