Make AddStringsForPdf() load resources in a for-loop.

Remove SetL10nString() helper function along the way.

Change-Id: Ie738c4da4c33d83c56305bdf6ececc13483f9f84
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1504841
Reviewed-by: dstockwell <dstockwell@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#638045}
1 file changed