DescriptionMake NTP Promo invalid if text parameter is not in lookup table.
Previously, if the promo text parameter was not found in the
localization lookup table, the promo would be considered valid and the
text would be displayed as is. With this CL, it is now required that
the text parameter exist in the lookup table in order for the promo
to be valid. The CL also does general NTP Promo cleanup and adds
unit tests.
BUG=703440
Review-Url: https://codereview.chromium.org/2799383002
Cr-Commit-Position: refs/heads/master@{#462918}
Committed: https://chromium.googlesource.com/chromium/src/+/d50c8a52e838178b0ceedca4e35ed67c3ffa8e57
Patch Set 1 #Patch Set 2 : unit test fix #
Messages
Total messages: 9 (5 generated)
|