Added setLanguageAlwaysTranslateState to LanguageHelper

This CL adds a function to the translate prefs:
"setLanguageAlwaysTranslateState" and bridges it to the frontend via
the LanguageHelper. This will serve as the frontend's way to add and
remove languages from the always translate list, rather than using
addLanguagePairToAlwaysTranslateList and
removeLanguagePairFromAlwaysTranslateList.

See the android implementation here:
(https://chromium-review.googlesource.com/c/chromium/src/+/2713387)

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

Bug: 1159480
Change-Id: I04c0fe0062045d94670ab33e621f144919cdf1f0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2746680
Commit-Queue: Joshua Santana <joshsantana@google.com>
Reviewed-by: Devlin <rdevlin.cronin@chromium.org>
Reviewed-by: dpapad <dpapad@chromium.org>
Reviewed-by: Caitlin Fischer <caitlinfischer@google.com>
Reviewed-by: Trevor  Perrier <perrier@chromium.org>
Cr-Commit-Position: refs/heads/master@{#863508}
GitOrigin-RevId: 906ab0b3b9f6764d9c13160e0d0cd12c1d8277cf
1 file changed