Added SetTranslateTargetLanguage to LanguageHelper

This CL adds the translate_prefs function "SetTranslateTargetLanguage"
to the frontend's languageHelper, to set up a new target language
setting.

This method will be used in future CLs as part of the Language Settings
Redesign for Desktop.

Bug: 1159480
Change-Id: I3525dea6986240c3993184b2c52dd822f2fcc33b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2758473
Reviewed-by: dpapad <dpapad@chromium.org>
Reviewed-by: Devlin <rdevlin.cronin@chromium.org>
Reviewed-by: Steven Holte <holte@chromium.org>
Commit-Queue: Joshua Santana <joshsantana@google.com>
Cr-Commit-Position: refs/heads/master@{#866789}
GitOrigin-RevId: ea057b7c860c16da55ceddce60e36b0035dc2899
1 file changed